View Single Post
  #10   Spotlight this post!  
Unread 21-02-2006, 11:35
comwiz7's Avatar
comwiz7 comwiz7 is offline
Registered User
AKA: Joey
FRC #1323 (Madtown Robotics 1323)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Madera
Posts: 66
comwiz7 will become famous soon enoughcomwiz7 will become famous soon enough
Send a message via MSN to comwiz7
Re: Relay Programming Questions...

Telling it what to do isn't the problem. It works fine except it only does it once, then it won't do it again. Also, when I do an if statement, like this:
if(counter3 == 1)
{
relay3_fwd = !relay3_fwd;
}
It always executes this statement, whether or not counter3 = 1. Even with a printf I found that counter3 was equal to 0 and it still executed this statement.