Implemented first Hangar-Service
Dependencies: CalibrateMagneto QuaternionMath
Fork of SML2 by
Diff: CherryCam.cpp
- Revision:
- 28:13eee3fe2e34
- Parent:
- 27:e71a2e4e6e3f
- Child:
- 29:e81a2b1f8825
--- a/CherryCam.cpp Tue Apr 21 13:34:25 2015 +0000 +++ b/CherryCam.cpp Wed Apr 22 10:17:24 2015 +0000 @@ -1,6 +1,9 @@ #include "CherryCam.h" -CherryCam::CherryCam() : powerPin(p31), shutterPin(p30), recording(false) {} +CherryCam::CherryCam() : powerPin(p31), shutterPin(p30), recording(false) +{ + powerPin = 0; // keep off initially +} void CherryCam::powerOn() {