ble transmitter

Dependencies:   mbed BLE_API nRF51822

Revision:
7:1e93ff891703
Parent:
6:f0984541d764
Child:
8:2d82653c8ffd
--- a/transmitter_main.cpp	Wed Apr 17 21:16:55 2019 +0000
+++ b/transmitter_main.cpp	Wed Apr 17 21:20:33 2019 +0000
@@ -31,7 +31,7 @@
     static Packet p;
     ble.gap().updateAdvertisingPayload(GapAdvertisingData::MANUFACTURER_SPECIFIC_DATA, (uint8_t *)&p, sizeof(p));
     (p.seqNum)++;
-    pc.printf("seq_num: %d", p.seqNum);
+    pc.printf("seq_num: %d\n", p.seqNum);
 }
 
 void periodicCallback(void)