Thread: Relay Commands
View Single Post
  #7   Spotlight this post!  
Unread 18-02-2006, 23:03
DanDon's Avatar
DanDon DanDon is offline
ohhh MY god
AKA: Dan Hoizner
FRC #0375 (The Robotic Plague)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Staten Island, NY
Posts: 1,432
DanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond repute
Send a message via ICQ to DanDon Send a message via AIM to DanDon Send a message via MSN to DanDon
Re: Relay Commands

Quote:
Originally Posted by Mike
Good job. I wouldn't limit the usage of this to "C noobs" either. Everyone can benefit from the readability change from
Code:
relay1_fwd = 0;
relay1_rev = 1;
to
Code:
RELAY1_OFF;
Hey Mike, wouldn't that be RELAY1_REV?
And of would be relay1_fwd=relay1_rev=0?
__________________