Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API mbed nRF51822 X_NUCLEO_IDB0XA1
Fork of BLE_BatteryLevel by
Revision 21:d3784939bbc0, committed 2017-06-28
- Comitter:
- Jun_adi
- Date:
- Wed Jun 28 13:03:00 2017 +0000
- Parent:
- 20:e7bc34a4a3db
- Commit message:
- Update typo
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Jun 08 05:22:45 2017 +0000 +++ b/main.cpp Wed Jun 28 13:03:00 2017 +0000 @@ -23,7 +23,7 @@ BatteryService *batteryService = NULL; //uint8_t batteryLevel = 50; -uint8_t batteryLevel = 50; // Change initial calue of batteryLevel +uint8_t batteryLevel = 0; // Change initial value of batteryLevel //Pin setting for Analog input AnalogIn analogin(P0_4);
