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:
73:1dcf56e9f1d4
Parent:
70:311d32a596db
Child:
79:bdbac82c979b
--- a/Hardwares/ArduCAM.cpp	Fri Apr 14 18:58:28 2017 +0000
+++ b/Hardwares/ArduCAM.cpp	Sun Apr 16 21:19:45 2017 +0000
@@ -329,6 +329,12 @@
                 ardu_utft_write_DATA(0xF8, 0x00);
 #endif
             }
+#ifdef CAM_DISP_DEBUG
+            else
+            {
+                ardu_utft_write_DATA(static_cast<uint8_t>(pixel >> 8), static_cast<uint8_t>(pixel));
+            }
+#endif
         }
 #ifdef CAM_DISP_DEBUG
         else