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:
12:256c303ad09d
Child:
13:7dcb1642ef99
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Hardwares/OV7725RegBuf.cpp	Wed Feb 08 18:00:33 2017 +0000
@@ -0,0 +1,45 @@
+#include "OV7725RegBuf.h"
+
+OV7725RegBuf::OV7725RegBuf() : 
+    m_data()
+{
+    
+}
+
+OV7725RegBuf::~OV7725RegBuf()
+{
+    
+}
+
+uint8_t * OV7725RegBuf::GetData()
+{
+    return m_data;
+}
+
+bool OV7725RegBuf::IsAddressReserved(const uint8_t addr) const
+{
+    switch(addr)
+    {
+    case OV7725_RESV_01:
+    case OV7725_RESV_02:
+    case OV7725_RESV_03:
+    case OV7725_RESV_04:
+    case OV7725_RESV_05:
+    case OV7725_RESV_06:
+    case OV7725_RESV_07:
+    case OV7725_RESV_08:
+    case OV7725_RESV_09:
+    case OV7725_RESV_10:
+    case OV7725_RESV_11:
+    case OV7725_RESV_12:
+    case OV7725_RESV_13:
+    case OV7725_RESV_14:
+    case OV7725_RESV_15:
+    case OV7725_RESV_16:
+        return true;
+        //break;
+    default:
+        return false;
+        //break;
+    }
+}
\ No newline at end of file