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:
43:0d1886f4848a
Parent:
41:7b21c5e3599e
Child:
44:15de535c4005
--- a/main.cpp	Fri Mar 24 15:44:08 2017 +0000
+++ b/main.cpp	Mon Mar 27 22:09:22 2017 +0000
@@ -19,7 +19,7 @@
     
     Timer timer;
     
-    //g_spi_port.frequency(500000);
+    g_spi_port.frequency(7000000);
     //g_spi_port.format(8, 0);
     
     //SW::Core core;
@@ -73,8 +73,9 @@
             isRegRead = true;
         }
         
+        ardu_cam_display_img_utft();
         
-        wait(0.01);
+        //wait(0.01);
     }
 }