View Single Post
  #3   Spotlight this post!  
Unread 01-02-2010, 16:22
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,795
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: Solenoid code not working

Aren't Solenoid Channel and Solenoid Module enumerated types?
Using a direct index like you do it seems like one or the other (module/channel) would be 1 off from what it should be.
e.g., an index of 8 might be interpreted as Module 9 if you start index counting at zero.
Attached Thumbnails
Click image for larger version

Name:	SolenoidOpen.jpg
Views:	39
Size:	5.8 KB
ID:	8466  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 01-02-2010 at 16:26.
Reply With Quote