|
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.
|