![](/media/cache/profiles/8ad6635f33710af6a535e8fb8486975e.50x50_q85.jpg)
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: main.cpp
- Revision:
- 27:9e546fa47c33
- Parent:
- 26:96a072233d7a
- Child:
- 28:ba6ca9f4def4
diff -r 96a072233d7a -r 9e546fa47c33 main.cpp --- a/main.cpp Tue Nov 27 19:49:38 2012 +0000 +++ b/main.cpp Wed Nov 28 12:29:02 2012 +0000 @@ -34,7 +34,7 @@ ADXL345 Acc(p28, p27); HMC5883 Comp(p28, p27); BMP085_old Alt(p28, p27); -RC_Channel RC[] = {p11, p12, p13, p14}; // no p19/p20 ! +RC_Channel RC[] = {RC_Channel(p11,1), RC_Channel(p12,2), RC_Channel(p13,3), RC_Channel(p14,4)}; // no p19/p20 ! Servo_PWM ESC[] = {p21, p22, p23, p24}; // p21 - p26 only because PWM! IMU_Filter IMU; // don't write () after constructor for no arguments! Mixer MIX;