The previous commands were working however, there was too much of a wait in between some stops. Hence i have modified the system to suite the circuit a bit better.
main:
readadc 1, b1
readadc 2, b2
select case b1
case 60 to 255
low 2
high 1
case 0 to 59
high 2
pause 600
low 1
end select
select case b2
case 60 to 255
low 4
pause 200
high 3
case 0 to 59
high 4
low 3
end select
debug b1
debug b2
goto main
Friday, 16 April 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment