CANSAT_CAMERA

Dependents:   CANSAT_COMBINED CANSAT_CAMERA_servo CANSAT_CAMERA2

Fork of Camera_LS_Y201 by Shinichiro Nakamura

Revision:
3:44403a8e4f44
Parent:
1:43358d40f879
--- a/Camera_LS_Y201.h	Mon Aug 10 16:34:15 2015 +0000
+++ b/Camera_LS_Y201.h	Tue Aug 18 00:38:43 2015 +0000
@@ -78,7 +78,7 @@
      * @return Error code.
      */
     ErrorCode reset();
-
+ErrorCode baud();
     /**
      * Set image size.
      *
@@ -116,6 +116,17 @@
      * @return Error code.
      */
     ErrorCode stopTakingPictures();
+ bool sendBytes(uint8_t *buf, size_t len, int timeout_us);
+
+    /**
+     * Receive bytes from camera module.
+     *
+     * @param buf Pointer to the data buffer.
+     * @param len Length of the data buffer.
+     *
+     * @return True if the data received.
+     */
+    bool recvBytes(uint8_t *buf, size_t len, int timeout_us);
 
 private:
     SerialBuffered serial;
@@ -135,18 +146,7 @@
      *
      * @return True if the data sended.
      */
-    bool sendBytes(uint8_t *buf, size_t len, int timeout_us);
-
-    /**
-     * Receive bytes from camera module.
-     *
-     * @param buf Pointer to the data buffer.
-     * @param len Length of the data buffer.
-     *
-     * @return True if the data received.
-     */
-    bool recvBytes(uint8_t *buf, size_t len, int timeout_us);
-
+   
     /**
      * Wait received.
      *