Raspberry Pi Camera

Dependents:   qqq_izu_main_test

Revision:
0:7a6b30b678c7
Child:
1:546f9ce8f4c0
diff -r 000000000000 -r 7a6b30b678c7 QQQCAM.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/QQQCAM.h	Sat Sep 19 09:58:31 2020 +0000
@@ -0,0 +1,22 @@
+#ifndef QQQCAM_H
+#define QQQCAM_H
+
+class QQQCAM{
+private:
+    Serial *_serial;
+    char rx_buf[256];
+    int index;
+    int flag;
+    float rate;
+    
+public:
+    QQQCAM(Serial &cam);
+    
+private:
+    void receive();
+
+public:
+    float get_rate();
+};
+
+#endif
\ No newline at end of file