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:
13:7dcb1642ef99
Parent:
12:256c303ad09d
--- a/Hardwares/OV7725RegAddr.h	Wed Feb 08 18:00:33 2017 +0000
+++ b/Hardwares/OV7725RegAddr.h	Wed Feb 08 23:47:02 2017 +0000
@@ -2,6 +2,13 @@
 #ifndef OV7725_REG_ADDR_H
 #define OV7725_REG_ADDR_H
 
+
+#define OV7725_WRITE      0x42
+#define OV7725_READ       0x43
+#define OV7725_WRITEWAIT  20
+#define OV7725_NOACK      0
+#define OV7725_I2CFREQ    100000 
+
 #define OV7725_PID_VALUE        0x77
 #define OV7725_VER_VALUE        0x21
 
@@ -180,6 +187,6 @@
 #define OV7725_SIGN      0xAB
 #define OV7725_DSPAuto   0xAC
 
-#define OV7725_LAST_ADDR 0xAC
+#define OV7725_LAST_ADDR OV7725_DSPAuto
 
 #endif //OV7725_REG_ADDR_H
\ No newline at end of file