Shop
OBEX
P1 Docs
P2 Docs
Learn
Events
Pushbutton help — Parallax Forums
toggle menu
Categories
Discussions
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Sign In
·
Register
×
Home
›
General Discussion
Pushbutton help
jorbro98
Posts:
2
2013-01-06 14:17
edited 2013-01-06 15:46
in
General Discussion
How do you code/wire a pushbutton to activate something?
Comments
erco
Posts:
20,259
2013-01-06 14:31
edited 2013-01-06 14:31
What, like a doorbell or a light switch?
jorbro98
Posts:
2
2013-01-06 14:48
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 Green
Posts:
23,101
2013-01-06 15:46
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.
Comments