If that is all of your code it is stopping at the endif.
Code:MAIN: 'Add this for a loop name. if gpio.1 = 1 then pulsout GPIO.0,10000 else pulsout GPIO.0,2000 endif GOTO MAIN 'Add this to start the loop again
If that is all of your code it is stopping at the endif.
Code:MAIN: 'Add this for a loop name. if gpio.1 = 1 then pulsout GPIO.0,10000 else pulsout GPIO.0,2000 endif GOTO MAIN 'Add this to start the loop again
Dave
Always wear safety glasses while programming.
Bookmarks