View Single Post
  #8   Spotlight this post!  
Unread 17-03-2004, 20:21
AsimC AsimC is offline
Registered User
#0871 (West Islip Robotechs)
 
Join Date: Feb 2003
Location: West Islip, NY
Posts: 51
AsimC will become famous soon enough
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