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

This note was uploaded on 01/10/2011 for the course EE 1244 taught by Professor Drera during the Fall '10 term at Conestoga.

Ask a homework question - tutors are online