Thread
:
pwm controlled by relay
View Single Post
#
2
12-02-2008, 17:41
blaxbb
Ohio State Engineering Scholar
AKA: Brian Barrett
FRC #2331
Team Role: Mentor
Join Date: Feb 2007
Rookie Year: 2007
Location: Vernon, New Jersey
Posts: 131
Re: pwm controlled by relay
You can use relays to control motors, but you wont have the speed control that using a PWM value would give you.
When you program it assign a button to forward and reverse
Code:
relay1_fwd = p1_sw_aux1; relay1_rev = p1_sw_aux2;
__________________
"Whether you think you can or think you can’t, you’re right." - Henry Ford
www.vthsrobotics.org
blaxbb
View Public Profile
Find all posts by blaxbb
Find CD-Media Photos by blaxbb
Find CD-Media Papers by blaxbb