Code to run on the charger board (used to charge the car from the mains).

Dependencies:   mbed CUER_CAN

Revision:
3:a7626dffb64a
Parent:
1:0c77e20b4d4c
Child:
5:756fae795d37
--- a/charger.h	Sun Jul 23 21:57:34 2017 +0000
+++ b/charger.h	Thu Jul 27 21:00:52 2017 +0000
@@ -1,3 +1,6 @@
+#ifndef CHARGER_H
+#define CHARGER_H
+
 #include "mbed.h"
 
 #define MAX_VOLTAGE 155000.0
@@ -50,4 +53,6 @@
 float desired_voltage = MAX_VOLTAGE; //mV
 
 uint8_t charger_control = 1; //0 or 1, 0 means start charging, 1 means stop charging
+
+#endif
    
\ No newline at end of file