Shop OBEX P1 Docs P2 Docs Learn Events
Pushbutton help — Parallax Forums

Pushbutton help

jorbro98jorbro98 Posts: 2
edited 2013-01-06 15:46 in General Discussion
How do you code/wire a pushbutton to activate something?

Comments

  • ercoerco Posts: 20,259
    edited 2013-01-06 14:31
    What, like a doorbell or a light switch?
  • jorbro98jorbro98 Posts: 2
    edited 2013-01-06 14:48
    To activate a loop. I have an alarm that goes off when the light is turned on, and I want to have a pushbutton that activates the loop that, when the light is turned on, the alarm goes off. EDIT: or, I want it to deactivate the loop
  • Mike GreenMike Green Posts: 23,101
    edited 2013-01-06 15:46
    Look in the "What's a Microcontroller?" tutorial. There are a number of examples in there of this in Chapter #3.
Sign In or Register to comment.