Update voltage measurement. Change ADC config setting.

Dependencies:   BLE_API mbed nRF51822 X_NUCLEO_IDB0XA1

Fork of BLE_BatteryLevel_ADC_170608 by Jun ADI

Revisions of main.cpp

Revision Date Message Actions
22:ad0c52ec5bf9 2017-07-24 Edit the "ADC read" code. File  Diff  Annotate
21:245543d2eb2c 2017-07-05 Add Battery voltage measurement. Change ADC config. File  Diff  Annotate
20:e7bc34a4a3db 2017-06-08 Change the analog input setting. It can change Battery level value by Analog input voltage.; File  Diff  Annotate
17:5afb0e5a48fc 2015-11-03 Use proper API instead of deprecated ones; Update disconnection callback signature to the correct one; Add the LE_GENERAL_DISCOVERABLE into advertisement FLAGS; Use new BLE::init API of BLE API 2.xx File  Diff  Annotate
16:5cdd04cf1ed4 2015-06-20 updating underlying libraries. File  Diff  Annotate
14:39b4b11d9cf5 2015-03-24 Updating underlying libraries. File  Diff  Annotate
13:60e095fe4b45 2014-12-16 minor re-ordering around the creation of BatteryService. File  Diff  Annotate
12:4024aa3f72b0 2014-12-15 minor improvement to the demo;; also updated underlying libraries to latest revision. File  Diff  Annotate
8:45beed07b093 2014-09-22 updating to 0.2.0 of the BLE_API File  Diff  Annotate
5:77ad8d8dc9c5 2014-06-12 removing un-necessary white space File  Diff  Annotate
4:5b64235d1b85 2014-06-12 updating the batteryLevel example with new API File  Diff  Annotate
3:288b2baffd14 2014-01-16 Updated to latest BLE_API version File  Diff  Annotate
2:a872df2e051e 2014-01-09 Update BLE API File  Diff  Annotate
1:54fe327e5d0a 2014-01-09 Updated to latest BLE_API library File  Diff  Annotate
0:395932faedf1 2014-01-09 First commit File  Diff  Annotate