2011_Activity #5 - Using current direcction to control a Bi-colour LED

2011_Activity #5 - Using current direcction to control a Bi-colour LED

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

View Full Document Right Arrow Icon
' Test Bi Colour LED.bs2 ' Turn Bi colour red, then green, then off in a loop. ' ' {$STAMP BS2} ' {$PBASIC 2.5} ' DEBUG "Program Running!"
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: D DO D HIGH 15 ' Red LOW 14 PAUSE 500 LOW 15 ' Green HIGH 14 PAUSE 500 LOW 15 ' Off LOW 14 PAUSE 500 LOOP...
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