Increment-decrement value For Basic PRO Compiler

define adc_bits 8
define osc 4
trisb = %00000000
L1 var portb.0
low L1
pause 2000 ‘ delay 2000 ms = 2 second
main:
high L1
pause 1000
Low L1
pause 1000
goto main
end

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.