|
Re: Help! Programming question with triggers
hmm this is how i originally did it...but it doesnt work. What happens is when i click the trigger, its constantly going forward even when i let go.
Code:
if (p3_sw_trig==1)
{
pwm07=175;
pwm08=175;
}
if (p3_sw_top==1)
{
pwm07=90;
pwm08=90;
}
__________________
WEST ISLIP ROBOTECHS - Team 871
-2004 SBPLI REGIONAL CHAIRMANS AWARD WINNERS!
-2003 SBPLI Regional Finalists with 545 and 566
-2002 SBPLI Rookie All-Star
-Former Student Team Leader and Programming Head
|