Boe-Bot Keyboard Control without Bluetooth or RF
Hi,
I'm having trouble figuring out how to control a Boe-Bot using a keyboard.
I want to be able to press the "F" key on my keyboard, and an LED will turn on, and then maybe if I press the "S" key, the LED will turn off.
Hopefully I can apply this concept to servo control as well.
The Boe-Bot will be plugged directly into the computer. I can't afford/Don't need any of the bluetooth or RF adapters.
Does anyone have any code that they could share that will help me with this simple task?
Thanks.
I'm having trouble figuring out how to control a Boe-Bot using a keyboard.
I want to be able to press the "F" key on my keyboard, and an LED will turn on, and then maybe if I press the "S" key, the LED will turn off.
Hopefully I can apply this concept to servo control as well.
The Boe-Bot will be plugged directly into the computer. I can't afford/Don't need any of the bluetooth or RF adapters.
Does anyone have any code that they could share that will help me with this simple task?
Thanks.
Comments
You can accomplish this using the DEBUGIN command and IF...THEN statements, using simple code like this below:
For more information on the DEBUGIN command, see the BASIC Stamp Syntax and Reference Manual, page 171.
Happy Developing!
Jessica
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jessica Uelmen
Education Department
Parallax, Inc.