Read nRF51822(BLE Chip) VDD voltage and return 100 to 0% charging level

Dependents:   BLE_Temp_Vdd_via_UART_TY BLE_EddystoneBeacon_w_ACC_TY51822 BLE_LoopbackUART_low_pwr_w_RTC1 BLE_Paired_Server ... more

This is only for nRF51822.

You don't need any hardware circuit. Just read internal Vdd voltage using ADC function inside of the chip.

Revision:
3:faf2e448c15b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nRF51_WakeUp.lib	Sat Apr 14 04:55:32 2018 +0000
@@ -0,0 +1,1 @@
+https://developer.mbed.org/users/kenjiArai/code/nRF51_WakeUp/#cc54cd1df555