View Single Post
  #3   Spotlight this post!  
Unread 09-12-2011, 22:53
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Arduino Board and FRC Victors

Hi-

I actually just recently used my Arduino to control both a Victor and a Jaguar, (Wired a potentiometer and had the Arduino scale the speed based on the pot value)

Try using the Servo library that comes with the Arduino.

Telling the pin to write the servo with a value of 90 will stop it, and > 90 is forward and < 90 is backwards.

If you want I can find the code I used.