TestP6Photoresistor - {$PBASIC 2.5 PBASIC directive...

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

View Full Document Right Arrow Icon
' Robotics with the Boe-Bot - TestP6Photoresistor.bs2 ' Test Boe-Bot photoresistor circuit connected to P6 and display ' the decay time. ' ' {$Stamp bs2} ' Stamp directive.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ' {$PBASIC 2.5} ' PBASIC directive. ' timeLeft VAR Word t DO D HIGH 6 PAUSE 2 RCTIME 6,1,timeLeft DEBUG HOME, "timeLeft = ", DEC5 timeLeft PAUSE 100 LOOP...
View Full Document

This note was uploaded on 04/23/2010 for the course EECC 0306-201 taught by Professor Roymelton during the Spring '10 term at RIT.

Ask a homework question - tutors are online