I try to find myself the answer on this question, but I am not sure if I understand correct. Please, help me ! I read, for 7 seconds, the value of ADCIN, using 12F675 ; I need to memorize
the maximum (the highest) value of reading. It's like this OK ?
Code:for cnt=1 to 70 adcin 3, v_cal v_cal=v_cal * 5000 ' I use VDD as Vref v_cal=div32 1023 ' vmax=0 max v_cal ' it's this or ' vmax=vmax max v_cal ' or this correct ? pause 100 next cnt
Bookmarks