Shop OBEX P1 Docs P2 Docs Learn Events
Really simple quesiton — Parallax Forums

Really simple quesiton

MECardMECard Posts: 1
edited 2009-11-07 04:06 in BASIC Stamp
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.

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,559
    edited 2009-11-07 04:06
    MECard,

    Please reference this PDF... What's a Microcontroller 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 smilewinkgrin.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Beau Schwabe

    IC Layout Engineer
    Parallax, Inc.
Sign In or Register to comment.