Example program to demonstrate the use of the BatteryGaugeBQ27441 class.

Dependencies:   battery-gauge-bq27441

Files at this revision

API Documentation at this revision

Comitter:
rob.meades@u-blox.com
Date:
Mon Jul 31 10:30:28 2017 +0100
Parent:
6:61df9e6e2871
Child:
8:ea7defa37e8a
Commit message:
Point mbed-os.lib to ARMmbed master and add some helpful text to the "shouldn't get here" message.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
--- 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);
 }
 
--- a/mbed-os.lib	Wed Jun 14 17:17:05 2017 +0100
+++ b/mbed-os.lib	Mon Jul 31 10:30:28 2017 +0100
@@ -1,1 +1,1 @@
-https://github.com/u-blox/mbed-os/#fb19851b1ac19ed46a49513acbda9a76cb9d3f2d
+https://github.com/ARMmbed/mbed-os/#78a1eddf61efa705ef1e99fc597dcaa5e737fb4c