All I am trying to do is open it and close it 10 times. The servo is a HiTech HS-322HD. It closes just fine, in fact, that’s all it does.
Am I doing something wrong with the timings? It’s a 20ms refresh, with 0.9ms being -90, 1.5ms being 0 and 2.1ms being +90.
for (int m = 0; m < 10; m++)
{
controller.SetPulse(1, 20000, 900);
Debug.Print("Duration is 0.9ms");
Thread.Sleep(500);
controller.SetPulse(1, 20000, 1500);
Debug.Print("Duration is 1.5ms");
Thread.Sleep(500);
controller.SetPulse(1, 20000, 2100);
Debug.Print("Duration is 2.1ms");
}
controller.SetPulse(1, 20000, 1500);