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: RC/RC_Channel.cpp
- Revision:
- 28:ba6ca9f4def4
- Parent:
- 27:9e546fa47c33
- Child:
- 29:8b7362a2ee14
--- a/RC/RC_Channel.cpp Wed Nov 28 12:29:02 2012 +0000 +++ b/RC/RC_Channel.cpp Sat Dec 01 07:13:04 2012 +0000 @@ -4,7 +4,7 @@ RC_Channel::RC_Channel(PinName mypin, int index) : myinterrupt(mypin) { RC_Channel::index = index; - time = -101; // start value to see if there was any value yet + time = -100; // start value to see if there was any value yet loadCalibrationValue(&scale, "SCALE"); loadCalibrationValue(&offset, "OFFSET");