View Single Post
  #2   Spotlight this post!  
Unread 02-02-2009, 16:27
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Microswitch 2009

Connect it between the ground and signal pins of a Digital I/O. The Digital Sidecar's built-in pullup resistor will provide a logic 1 on the input when the switch is open, and closing the switch will give a logic 0. There is a Common terminal on the switch; wire that to ground. Use either the Normally Open or the Normally Closed terminal as the signal, depending on whether you want the switch to close or to open when activated.
Reply With Quote