ongoing Development Project for interfacing a BM019 Module with nrf51-dk, acting as a nfc 2 ble bridge. Base project for opensource blueReader Device
Dependencies: BLE_API mbed nRF51822
log.h@0:d156731c291b, 2016-04-16 (annotated)
- Committer:
- SandraK
- Date:
- Sat Apr 16 14:00:28 2016 +0000
- Revision:
- 0:d156731c291b
initial Version of nfc2ble software, supports only limited modes and options so far
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
SandraK | 0:d156731c291b | 1 | #ifndef LOG_H |
SandraK | 0:d156731c291b | 2 | #define LOG_H |
SandraK | 0:d156731c291b | 3 | |
SandraK | 0:d156731c291b | 4 | #define NEED_CONSOLE_OUTPUT 1 |
SandraK | 0:d156731c291b | 5 | /* Set this if you need debug messages on the console; |
SandraK | 0:d156731c291b | 6 | * it will have an impact on code-size and power consumption. */ |
SandraK | 0:d156731c291b | 7 | |
SandraK | 0:d156731c291b | 8 | #include "mbed.h" |
SandraK | 0:d156731c291b | 9 | |
SandraK | 0:d156731c291b | 10 | #if NEED_CONSOLE_OUTPUT |
SandraK | 0:d156731c291b | 11 | #define DEBUG(...) { printf(__VA_ARGS__); } |
SandraK | 0:d156731c291b | 12 | #else |
SandraK | 0:d156731c291b | 13 | #define DEBUG(...) /* nothing */ |
SandraK | 0:d156731c291b | 14 | #endif /* #if NEED_CONSOLE_OUTPUT */ |
SandraK | 0:d156731c291b | 15 | |
SandraK | 0:d156731c291b | 16 | #endif /* #if ndef LOG_H */ |