I am new to that hole electronic world and at the moment I am trying to control a brushless motor with my netduino.
The controller has a kind of handshake:
- full speed (needs at least 1.5ms duration)
- connect akku
- zero speed
{*]beep beep beep! - ready
so i use the following code, but it did not seem to work, I already tried other ways, but nothing seems to work
PWM Servo1 = new PWM(Pins.GPIO_PIN_D5); Servo1.SetDutyCycle(1); Servo1.SetPulse(20000, 1800); Thread.Sleep(300); while (true) { Servo1.SetDutyCycle(1); Servo1.SetPulse(20000, 1500); Thread.Sleep(300); }
it would be nice if any of you could help me