Application running on nRF51822 PCA10001
Dependencies: BLE_API MMA8652 nRF51822 mbed-src
Logger.h
- Committer:
- rosterloh84
- Date:
- 2014-08-29
- Revision:
- 3:596283411a00
File content as of revision 3:596283411a00:
#ifndef _H_LOGGER_H #define _H_LOGGER_H #define NEED_CONSOLE_OUTPUT 1 /* Set this if you need debug messages on the console; * it will have an impact on code-size and power consumption. */ #if NEED_CONSOLE_OUTPUT //Serial pc(USBTX, USBRX); //pc.baud(9600); //pc.set_flow_control(SerialBase::RTSCTS, p8, p10); #define DEBUG(...) { printf(__VA_ARGS__); } #else #define DEBUG(...) /* nothing */ #endif /* #if NEED_CONSOLE_OUTPUT */ #endif //_H_LOGGER_H