Implemented first Hangar-Service

Dependencies:   CalibrateMagneto QuaternionMath

Fork of SML2 by TobyRich GmbH

Revision:
30:a56c141d1d38
Parent:
27:e71a2e4e6e3f
Child:
46:fd5a62296b12
--- a/CherryCam.h	Wed Apr 22 11:06:42 2015 +0000
+++ b/CherryCam.h	Thu Apr 23 12:13:28 2015 +0000
@@ -15,9 +15,11 @@
     void stop();            ///< Stop the video recording.
     
 private:
-    void generateFallingEdge(DigitalOut &p);
+    void generateFallingEdge();
+    void pulldownShutterPin();
     DigitalOut powerPin;
     DigitalOut shutterPin;
+    Timeout pulldownTimer;
     bool recording;
 };