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

SWCommon.h

Committer:
hazheng
Date:
2017-04-06
Revision:
56:7d3395ae022d
Child:
57:0d8a155d511d

File content as of revision 56:7d3395ae022d:

#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