RACE CAR
Fork of TFC-RACING-DEMO by
common.h
- Committer:
- redxeth
- Date:
- 2014-04-20
- Revision:
- 0:98e98e01a6ce
File content as of revision 0:98e98e01a6ce:
#include "mbed.h" #ifndef _COMMON_H #define _COMMON_H //This macro is to maintain compatibility with Codewarrior version of the sample. This version uses the MBED libraries for serial port access extern Serial PC; #define TERMINAL_PRINTF PC.printf //This ticker code is used to maintain compability with the Codewarrior version of the sample. This code uses an MBED Ticker for background timing. #define NUM_TFC_TICKERS 4 extern Ticker TFC_TickerObj; extern volatile uint32_t TFC_Ticker[NUM_TFC_TICKERS]; #endif