Quote:
|
Originally Posted by Mark McLeod
Try a simpler test like:
Code:
if (p2_sw_trig)
pwmxxx = 254;
else
pwmxxx = 0;
|
The problem with that is that this is for a transmission shifter so i want one button press to leave the transmission in a certain gear. But yeah, i should defenitley put initialization values and tell drivers not to press both buttons simultaneously. That servo will go nuts...