View Single Post
  #2   Spotlight this post!  
Unread 12-02-2008, 17:41
blaxbb blaxbb is offline
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
blaxbb is just really niceblaxbb is just really niceblaxbb is just really niceblaxbb is just really niceblaxbb is just really nice
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