SmartWheels self-driving race car. Designed for NXP Cup. Uses FRDM-KL25Z, area-scan camera, and simple image processing to detect and navigate any NXP spec track.

Dependencies:   TSI USBDevice mbed-dev

Fork of SmartWheels by haofan Zheng

Revision:
97:0ed9ede9a995
Parent:
96:ec89c4d1383d
Child:
99:c6665262fd3d
diff -r ec89c4d1383d -r 0ed9ede9a995 Hardwares/ArduCAM.h
--- a/Hardwares/ArduCAM.h	Wed Apr 19 19:43:15 2017 +0000
+++ b/Hardwares/ArduCAM.h	Wed Apr 19 21:17:40 2017 +0000
@@ -56,6 +56,7 @@
     #include "OV7670RegProg.h"
 #endif
 
+#define ARDUCHIP_VER                0x40  /*!< @brief The address for the ArduCam version register. */
 #if defined(ARDUCAM_SHIELD)
     #define ARDUCHIP_VER_NUM        0x61     /*!< @brief ArduCam Version number for ArduCam Shield V2. */
 #elif defined(ARDUCAM_MINI)
@@ -145,6 +146,12 @@
 */
 uint8_t ardu_cam_get_is_border_found();
 
+/**
+* @brief Gets the version number from ArduCam.
+* @return The version number.
+*/
+uint8_t ardu_cam_get_ver_num();
+
 #ifdef __cplusplus
 }
 #endif