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:
56:7d3395ae022d
Child:
57:0d8a155d511d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SWCommon.h	Thu Apr 06 22:19:59 2017 +0000
@@ -0,0 +1,17 @@
+#pragma once
+#ifndef SW_COMMON_H
+#define SW_COMMON_H
+
+#include "ArduUTFT.h"
+
+#ifdef SW_DEBUG
+#define LOGI(...) char buf[100];\
+                sprintf(buf, __VA_ARGS__);\
+                ardu_utft_print(buf, 230, 100);
+                
+#else
+#define LOGI(...) 
+
+#endif
+
+#endif //SW_COMMON_H
\ No newline at end of file