View Full Version : Really simple quesiton

11-07-2009, 10:32 AM
I'm new at this Basic Stamp stuff, and my teacher is, to say the least, bad. To this point he has not once shown us how to properly wire up a button for input control. Can someone give me a real quick explanation? Like, where do the leads from the button plug into for my program to read high when the button is pushed, assuming I want the input pin to be pin 10 for instance.

Also, I know I need a 220 resistor, but how is it wired?

Thanks in advance.

Beau Schwabe (Parallax)
11-07-2009, 11:06 AM

Please reference this PDF... What's a Microcontroller (http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/WAM/List/0/SortField/4/ProductID/139/Default.aspx) Chapter 3 will provide you with the information that you need to know.

BTW) Just a bit of friendly advice, your 'bad' teacher could be a forum member http://forums.parallax.com/images/smilies/smilewinkgrin.gif

Beau Schwabe (mailto:bschwabe@parallax.com)

IC Layout Engineer
Parallax, Inc.