football_project_wo_output

Dependencies:   mbed

Fork of football_project by MZJ

Revision:
73:ac3588017e32
Parent:
70:bd4b1e19a0c6
Child:
74:9257d83bd36c
--- a/main.cpp	Mon Feb 22 10:02:52 2016 +0000
+++ b/main.cpp	Wed Mar 02 03:21:37 2016 +0000
@@ -299,6 +299,11 @@
     return  batt_and_id[2];
 }
 
+bool isCharging()
+{
+    return  !notcharge;
+}
+
 #define BAT_TOP  793  // 3250  // 52000
 #define BAT_BOT  684  // 2800  // 44800
 uint8_t getBattLevel()