Hi mackrackit
i tried this
but it doesnt stop counting for a defined voltage once it is triggered it does not stop for the final voltage.
Once i stop it i ll adjust the pauseus valueloop:
adcin 0, adval
If adval => 500 then time
goto loop
time:
for X = 1 to 1023
pauseus 10
t = t + 1
If adval = 1000 then tcalc
next x
tCalc:
LCDOUT $fe, 2,"Time" ,":",DEC t
goto time
Anything missing? any suggestions?
Bookmarks