View Single Post
  #2   Spotlight this post!  
Unread 20-02-2013, 01:46
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: Spikes with alternate control systems

Looking back to our 2007 code, it seems that we set relays using
relay_fwd=1;
relay_rev=0;

Mind you, it has been 5 years since I have even attempted to code C++, and I may be completely wrong, but I believe it is actually looking for the boolean 1 or 0 instead of on or off.
__________________
I'm right 90% of the time, so why worry about the other 3%?