Thank you both for your fast reply I will test both of those now and let you know when I get my results. THANK YOU SOOOOOOOO MUCH!!!! and best of luck to both of your teams.
Heres the code i ended up using:
Code:
if (rc_dig_in02) {
pwm01 = 200;
pwm02 = 200;
} else if (rc_dig_in01) {
pwm02 = 200;
pwm01 = 127;
} else if (rc_dig_in03) {
pwm02 = 127;
pwm01 = 200;
} else {
pwm01= 127;
pwm02= 127;
}
and it works perfectly thank you for your help