View Single Post
  #5   Spotlight this post!  
Unread 23-01-2009, 13:12
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: Digital Outputs on the Driver Station with C/C++

Quote:
Originally Posted by Bongle View Post
If we plug them into the digital outputs with the positive wire to the center pin of the DS digital out and the signal wire to the signal (top) pin of the DS, they'll turn on. Likewise, if we put the signal wire to the ground pin of the DS, they'll turn on that way as well. However, we couldn't get them to turn off programmatically.
I think they all start out off, so turning them off won't make any difference. You've just wired it so that "off" lights the LED.

Put the positive wire on the signal pin and the negative wire on the ground pin instead, and you should see the LED light up when you turn the output on.
Reply With Quote