Toggle works with just the pin number.
I.E. Toggle 0 will toggle GPIO.0, Toggle 1 will toggle GPIO.1, etc, so;
should do what you're looking for.Code:MAIN: for Counter = 0 to 2 Toggle Counter ' another way pause 200 next counter goto main
Toggle works with just the pin number.
I.E. Toggle 0 will toggle GPIO.0, Toggle 1 will toggle GPIO.1, etc, so;
should do what you're looking for.Code:MAIN: for Counter = 0 to 2 Toggle Counter ' another way pause 200 next counter goto main
Last edited by Bruce; - 9th January 2007 at 20:26.
Bookmarks