Cycle speed and cadence example for the BLE API using nRF51822 native mode drivers
Dependencies: BLE_API mbed nRF51822
Fork of BLE_HeartRate by
Diff: main.cpp
- Revision:
- 17:583b765af55f
- Parent:
- 16:f3361e20642d
- Child:
- 18:8a2e313f49cb
--- a/main.cpp Wed Jun 11 09:06:14 2014 +0100 +++ b/main.cpp Wed Jun 11 09:07:11 2014 +0100 @@ -34,7 +34,6 @@ /* Battery Level Service */ uint8_t batt = 72; /* Battery level */ -uint8_t read_batt = 0; /* Variable to hold battery level reads */ GattService battService (GattService::UUID_BATTERY_SERVICE); GattCharacteristic battLevel (GattCharacteristic::UUID_BATTERY_LEVEL_CHAR, 1, 1, GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_NOTIFY | GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_READ);