NOT FINISHED YET!!! My first try to get a self built fully working Quadrocopter based on an mbed, a self built frame and some other more or less cheap parts.
Diff: Servo/Servo.cpp
- Revision:
- 29:8b7362a2ee14
- Parent:
- 9:4e0c3936c756
--- a/Servo/Servo.cpp Sat Dec 01 07:13:04 2012 +0000 +++ b/Servo/Servo.cpp Sat Dec 15 08:42:36 2012 +0000 @@ -7,9 +7,7 @@ void Servo::initialize() { // initialize ESC - Enable(2000,20000); // full throttle - wait(0.01); // for 0.01 secs - SetPosition(1000); // low throttle + Enable(1000,20000); // low throttle 50Hz TODO: Frequency modify } void Servo::SetPosition(int Pos) {