Boe-Bot program motion and flashing light
Puplova
Posts: 2
in BASIC Stamp
I have been trying to make my Boe-Bot move in just a forward direction for now and simultaneously have an LED flash while it is driving. I tried using a series of do loops but, they would just run the program sequentially instead of simultaneously. I have done research and I haven't gotten a solid answer. I am using the basic stamp BS2 module and the 2.5 version of the PBasic language on Basic stamp editor. Any help would be appreciated.
Comments
If you need concurrent programs executing at the same time then you may want to upgrade the board to a Propeller Activity Board and use the 8 parallel processors to do the magic.
do
toggle 0 ' toggle LED on pin0
for b0=1 to 50 'drive for a second
pulsout 12, 650
pulsout 13,850
pause 20
next
loop