2011_Activity #3 - Counting and Repeating

2011_Activity #3 - Counting and Repeating - c FOR counter =...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
' LED ON/OFF.bs2 ' Turn and LED on and off. Repeat 1 time per second indefinitely. ' ' {$STAMP BS2} ' {$PBASIC 2.5} ' counter VAR Byte
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: c FOR counter = 1 TO 10 F DEBUG ? counter HIGH 14 PAUSE 1000 LOW 14 PAUSE 2000 NEXT N DEBUG "All done!" D END...
View Full Document

Ask a homework question - tutors are online