An example program to test data transfer throughput. Exhibits long latency (2 sec) between hardware callbacks on write event.
Dependencies: BLE_API mbed nRF51822
Logger.h
- Committer:
- pvaibhav
- Date:
- 2014-08-14
- Revision:
- 0:ab775bf55fe4
File content as of revision 0:ab775bf55fe4:
#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 #define DEBUG(...) { printf(__VA_ARGS__); } #else #define DEBUG(...) /* nothing */ #endif /* #if NEED_CONSOLE_OUTPUT */ #endif//_H_LOGGER_H