Bluetooth Communication
Joch119
Posts: 7
I am trying to communicate via bluetooth with the eb500 and the board of education. I know some PBASIC programming from reading the different manuals on the parallax website, but not enough. I have established bluetooth connectivity and was wondering how to send a command through bluetooth to say make an LED light up. Say through one of the I/O pins on the board.
Can anyone please help me with say a simple program to make one of the pins HIGH.
Can anyone please help me with say a simple program to make one of the pins HIGH.
Comments
command var byte
main:
serin pin,baud[noparse][[/noparse]command]
if command = the right command
light LED
endif
goto main
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot