Example program to demonstrate the use of the BatteryGaugeBQ27441 class.
Dependencies: battery-gauge-bq27441
Diff: main.cpp
- Revision:
- 7:9ccf046018f7
- Parent:
- 6:61df9e6e2871
- Child:
- 8:ea7defa37e8a
--- a/main.cpp Wed Jun 14 17:17:05 2017 +0100 +++ b/main.cpp Mon Jul 31 10:30:28 2017 +0100 @@ -110,7 +110,7 @@ ledGreen = 1; ledRed = 0; - printf("Should never get here.\n"); + printf("Should never get here: do you have a battery connected?\n"); MBED_ASSERT(false); }