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@1:e4e03060b32f, 2016-04-21 (annotated)
- Committer:
- SandraK
- Date:
- Thu Apr 21 19:09:42 2016 +0000
- Revision:
- 1:e4e03060b32f
- Parent:
- 0:d156731c291b
added hearthbeat-mode for iOS
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 */ |