Example for Bluetooth low energy interface
Dependencies: mbed HC_SR04_Ultrasonic_Library
BlueNRG_F4_BSP/inc/debug.h@3:829f081fde15, 2015-05-19 (annotated)
- Committer:
- julientiron
- Date:
- Tue May 19 20:42:25 2015 +0000
- Revision:
- 3:829f081fde15
- Parent:
- 0:3d641e170a74
hihi;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
julientiron | 0:3d641e170a74 | 1 | /****************************************************************************** |
julientiron | 0:3d641e170a74 | 2 | * Includes |
julientiron | 0:3d641e170a74 | 3 | *****************************************************************************/ |
julientiron | 0:3d641e170a74 | 4 | #include <string.h> |
julientiron | 0:3d641e170a74 | 5 | |
julientiron | 0:3d641e170a74 | 6 | //#define DEBUG |
julientiron | 0:3d641e170a74 | 7 | |
julientiron | 0:3d641e170a74 | 8 | #ifdef DEBUG |
julientiron | 0:3d641e170a74 | 9 | #include <stdio.h> |
julientiron | 0:3d641e170a74 | 10 | #define PRINTF(...) printf(__VA_ARGS__) |
julientiron | 0:3d641e170a74 | 11 | #else |
julientiron | 0:3d641e170a74 | 12 | #define PRINTF(...) |
julientiron | 0:3d641e170a74 | 13 | #endif |