Okay, so we got his code from Salad
Quote:
If your motor was hooked to pwm01 you'd use...
Limit_Switch_Max(rc_dig_in01, &pwm01);
Limit_Switch_Min(rc_dig_in02, &pwm01);
|
Where in the code would you put this? And is this all you would need to get it to work properly?
__________________
TEAM 1706
2007 Judges Award, St. Louis (For our amazing ability to have bad luck)
2005 Rookie Inspiration Award, St. Louis