Thread
:
Using a switch with a victor
View Single Post
#
2
30-01-2006, 20:00
Cuog
Registered Linux User: 390661
AKA: Alex
FRC #0422
Team Role: Mentor
Join Date: Nov 2005
Rookie Year: 2004
Location: Richmond, Virginia
Posts: 852
Re: Using a switch with a victor
have an if statement in code that is something like:
if(p1_sw_trig == 1)
{
pwm04 = 255;
}
else
{
pwm04 = 127;
}
and then it will be on full speed or at neutral and still going through a victor
__________________
KK4KQO
http://voltair.us
Too many projects, too little time.
Cuog
View Public Profile
Visit Cuog's homepage!
Find all posts by Cuog
Find CD-Media Photos by Cuog
Find CD-Media Papers by Cuog