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:
54:f1f5648dfacf
Parent:
46:a5eb9bd3bb55
Child:
56:7d3395ae022d
--- a/Hardwares/ArduUTFT.cpp	Thu Apr 06 19:42:40 2017 +0000
+++ b/Hardwares/ArduUTFT.cpp	Thu Apr 06 20:36:51 2017 +0000
@@ -81,23 +81,23 @@
 
 void ardu_utft_init()
 {
-    char buf[20];
+    //char buf[20];
     uint8_t VerNum = ardu_cam_spi_read_8(0x40);
     VerNum = ardu_cam_spi_read_8(0x40);
     
     
-    sprintf(buf, "UTFT Ver %#x", VerNum);
-    g_core.GetUSBServer().PushReliableMsg('D', buf);
+    //sprintf(buf, "UTFT Ver %#x", VerNum);
+    //g_core.GetUSBServer().PushReliableMsg('D', buf);
     
     ardu_cam_spi_write_8(ARDUCHIP_TEST1_UTFT, ARDUCHIP_TEST_MSG_UTFT);
     uint8_t testV = ardu_cam_spi_read_8(ARDUCHIP_TEST1_UTFT);
     if(VerNum != ARDUCHIP_VER_NUM_UTFT || testV != ARDUCHIP_TEST_MSG_UTFT)
     {
-        g_core.GetUSBServer().PushReliableMsg('D', "UTFTInit Fai");
+        //g_core.GetUSBServer().PushReliableMsg('D', "UTFTInit Fai");
     }
     else
     {
-        g_core.GetUSBServer().PushReliableMsg('D', "UTFTInit Suc");
+        //g_core.GetUSBServer().PushReliableMsg('D', "UTFTInit Suc");
     }
     
     ardu_cam_set_mode(MCU2LCD_MODE);