Detecting a button press
I want to ask if anyone know what code is needed to let the boe-bot detect the button is pressed. I also have problem don know where to place the button and it can be away from the circuit too.
The attach file is what my circuit looks like.
Help! here

Post Edited By Moderator (Joshua Donelson (Parallax)) : 5/21/2009 5:39:01 PM GMT
The attach file is what my circuit looks like.
Help! here


Post Edited By Moderator (Joshua Donelson (Parallax)) : 5/21/2009 5:39:01 PM GMT
Comments
You can find an example of a button circuit with code in the text book called "What's a Microcontroller".· Here is a link for the download:
http://www.parallax.com/Store/Books/EducationalTexts/tabid/181/CategoryID/66/List/0/Level/a/ProductID/139/Default.aspx?SortField=ProductName%2cProductName
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dave Andreae
Parallax Tech Support·