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:
46:a5eb9bd3bb55
Parent:
44:15de535c4005
Child:
92:e9bd429f16b5
--- a/Hardwares/ArduUTFT.h	Thu Mar 30 03:50:23 2017 +0000
+++ b/Hardwares/ArduUTFT.h	Thu Mar 30 22:34:20 2017 +0000
@@ -27,7 +27,12 @@
 
 #define CAM_IMG_CANVAS_ROW_OFFSET 20
 #define CAM_IMG_CANVAS_COL_OFFSET 300
-    
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 void ardu_utft_init(); //We only use LANDSCAPE orientation!
 
 void ardu_cam_set_mode(uint8_t mode);
@@ -68,4 +73,8 @@
     ardu_utft_set_xy(0, row + CAM_IMG_CANVAS_ROW_OFFSET, CAM_IMG_CANVAS_COL_OFFSET - col, row + CAM_IMG_CANVAS_ROW_OFFSET);
 }
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif //ARDU_UTFT_H
\ No newline at end of file