|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Arduino UNO to CIM Motors via Victor Sp
I have my connections pretty much as it says in the title. I am having issues getting my motors to turn competently. I am using the Servo library and I've been fiddling around with the template program but I cannot seem to get my motor to stop turning in one direction. Theres no while loop,
Servo rightVictor;// create servo object to control a servo int rightVictorPin = 10; // twelve servo objects can be created on most boards void setup() { rightVictor.attach(rightVictorPin); pinMode (rightVictorPin, OUTPUT); analogWrite (rightVictorPin, 192); } void loop () { rightVictor.writeMicroseconds(1000); delay (15); } Why wont the motor stop? |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|