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
Diff: SWCommon.h
- Revision:
- 98:fc92bb37ee17
- Parent:
- 94:32712e603a5f
--- a/SWCommon.h Wed Apr 19 19:43:15 2017 +0000 +++ b/SWCommon.h Thu Apr 20 16:18:45 2017 +0000 @@ -12,12 +12,12 @@ #include <mbed.h> #ifdef SW_DEBUG -#define LOGI(...) char sw_common_buf_v87t790[100];\ /*!< @brief Print debug message on the UTFT screen in debug mode. Do nothing in release mode. */ +#define LOGI(...) char sw_common_buf_v87t790[100];\ sprintf(sw_common_buf_v87t790, __VA_ARGS__);\ ardu_utft_print(sw_common_buf_v87t790, 230, 100); #else //SW_DEBUG -#define LOGI(...) /*!< @brief Print debug message on the UTFT screen in debug mode. Do nothing in release mode. */ +#define LOGI(...) #endif //SW_DEBUG