View Single Post
  #3   Spotlight this post!  
Unread 07-02-2010, 10:13
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,800
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Normal IO Push Button on the Digital Sidecar

To connect a button or switch to the Digital Sidecar you use the ground (-) and signal pins, not the power (+) pin.

Anything you want your code to know about MUST use the signal pin to "signal" the cRIO. That's the only way your code can "hear" anything.

So connect the switch ground to (-) on the Sidecar and the switch (+) to the signal pin on the Sidecar.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 07-02-2010 at 10:16.