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:
93:8e1bd3602d53
Parent:
81:32bd7a25a699
diff -r e9bd429f16b5 -r 8e1bd3602d53 Hardwares/ArduTouch.cpp
--- a/Hardwares/ArduTouch.cpp	Wed Apr 19 17:15:46 2017 +0000
+++ b/Hardwares/ArduTouch.cpp	Wed Apr 19 18:34:12 2017 +0000
@@ -200,7 +200,8 @@
 
 void ardu_touch_get_pos(int16_t* x, int16_t* y)
 {
-    
+    *x = value_x;
+    *y = value_y;
 }
 
 #ifdef __cplusplus