|
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.
|