Tobi's ubw test branch
Dependencies: mavlink_bridge mbed
Fork of AIT_UWB_Range by
Diff: main.cpp
- Revision:
- 13:b4d27bf7062a
- Parent:
- 12:985aa9843c3c
- Child:
- 14:8041c9b68406
--- a/main.cpp Sun Nov 23 14:34:31 2014 +0000 +++ b/main.cpp Sun Nov 23 15:07:24 2014 +0000 @@ -7,7 +7,7 @@ uint64_t timestamp_old = 0; -#define SENDER +//#define SENDER void Interrupthandler() { /*uint8_t frameready = 0; @@ -89,6 +89,9 @@ #else pc.printf("%d Waiting... ", i); + sprintf((char*)message, "BETWEEN! %d", i); + dw.sendString(message); + uint64_t status; dw.readRegister(DW1000_SYS_STATUS, 0, (uint8_t*)&status, 5); status &= 0xFFFFFFFFFF; // only 40-Bit