QC Control software

Dependencies:   mbed

Fork of dgps by Colin Stearns

Revision:
12:e42985e3ea64
Parent:
9:da906eeac51e
Child:
13:a6d3cf2b018e
--- a/handle/handleCamera.h	Sat Apr 05 17:49:57 2014 +0000
+++ b/handle/handleCamera.h	Sat Apr 05 22:27:18 2014 +0000
@@ -3,11 +3,14 @@
 
 #include "adapt/usb.h"
 #include "adapt/camera.h"
+#include "packet.h"
 #include <algorithm>
+
 class ImageHandle{
 private:
     Camera cam;
     bool initialized;
+    Serial& outputDevice;
     
     /// \brief Setup the camera.
     void setup();
@@ -15,9 +18,11 @@
     void take();
     /// \brief Check if an image must be taken
     bool check();
+
 public:
+
     /// \brief Constructor
-    ImageHandle():initialized(false){}
+    ImageHandle():initialized(false),outputDevice(USB::getSerial()){}
     /// \brief Run an instance of this
     void run();
 };