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:
92:e9bd429f16b5
--- a/Hardwares/ArduUTFT.h	Wed Apr 19 19:43:15 2017 +0000
+++ b/Hardwares/ArduUTFT.h	Wed Apr 19 21:17:40 2017 +0000
@@ -30,7 +30,7 @@
 #define UTFT_CENTER 9998   /*!< @brief right alignment. */
 
 #define CAM_IMG_CANVAS_ROW_OFFSET 20    /*!< @brief The horizontal postion of the canvas that used to display the camera image. */
-#define CAM_IMG_CANVAS_COL_OFFSET 300   /*!< @brief The vertical postion of the canvas that used to display the camera image. */
+#define CAM_IMG_CANVAS_COL_OFFSET 200   /*!< @brief The vertical postion of the canvas that used to display the camera image. */
 
 
 #ifdef __cplusplus
@@ -164,6 +164,11 @@
     ardu_utft_set_xy(0, row + CAM_IMG_CANVAS_ROW_OFFSET, CAM_IMG_CANVAS_COL_OFFSET - col, row + CAM_IMG_CANVAS_ROW_OFFSET);
 }
 
+/**
+* @brief Gets the version number from ArduCam Shield V2.
+* @return The version number.
+*/
+uint8_t ardu_utft_get_ver_num();
 #ifdef __cplusplus
 }
 #endif