Quote:
|
Originally Posted by KenWittlief
you dont need an if statement
just something like
relay_fwd01 = p1_trig01; in your code
when the switch is on the relay is on, when its off, the relay goes off
|
If you have a victor, try this:
Code:
pwm01=p1_sw_trig*127+127;