Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

2 Buttons Wiring


  • Please log in to reply
3 replies to this topic

#1 Carsten Dressler

Carsten Dressler

    Member

  • Members
  • PipPip
  • 20 posts

Posted 17 January 2013 - 02:18 AM

Hi,

 

I wired up 1 button using this http://arduino.cc/en/tutorial/button.  It works great.  

 

However, I want to wire up more than 1 button.  So I want button 1 to trigger D0 and button 2 to trigger D1 for example.

 

Anyone have any ideas?

 

Thanks!

 

Carsten



#2 JerseyTechGuy

JerseyTechGuy

    Advanced Member

  • Members
  • PipPipPip
  • 870 posts

Posted 17 January 2013 - 02:52 AM

Set it up the same way except button 2 uses a different GPIO pin.

#3 supra

supra

    Advanced Member

  • Members
  • PipPipPip
  • 210 posts
  • LocationOntario, Canada

Posted 17 January 2013 - 12:29 PM

Hi,

 

I wired up 1 button using this http://arduino.cc/en/tutorial/button.  It works great.  

 

However, I want to wire up more than 1 button.  So I want button 1 to trigger D0 and button 2 to trigger D1 for example.

 

Anyone have any ideas?

 

Thanks!

 

Carsten

 

Here is better one:

http://www.instructa...-shield-part-2/

 

Tutorial for newbie more buttons:

http://www.instructa...ino-Simon-Says/

 

HTH.

Supra



#4 Carsten Dressler

Carsten Dressler

    Member

  • Members
  • PipPip
  • 20 posts

Posted 17 January 2013 - 01:55 PM

Thanks guys!  The examples look great!

 

I'll test tonight and let you know.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.