hi
how possible to measure peak to peak of voltage in bascom avr
i measure voltage with this code :
but i dont know to measure peak to peak of voltage
thanks of any help
how possible to measure peak to peak of voltage in bascom avr
i measure voltage with this code :
Rich (BB code):
Enable Adc
Config Adc = Single , Prescaler = Auto
Start Adc
Enable Interrupts
Dim Read_adc As Word
Dim Volt As Single
Read_adc = Getadc(6)
Volt = Read_adc / 1024
Volt = Volt * 25
lcd volt
thanks of any help