Thread: rc_dig_in help?
View Single Post
  #4   Spotlight this post!  
Unread 18-01-2008, 11:44
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,801
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: rc_dig_in help?

Quote:
Originally Posted by PhilM View Post
our digital imputs are always set to one no matter what we do. We even defined them as zero right before the code that we were testing and they were still set to one and.. thats not suppost to happen.
You don't set digital inputs in the code, so you can try to assign values to them all you want, but .00002 sec. later it will be overwritten by the hardware and nothing will ever take. As Alan said, the digital input values only reflect the voltage seen at the hardware pins.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 18-01-2008 at 11:49.