new CanControl

Revision:
2:d7776fa70ef5
Parent:
1:25258579a80d
diff -r 25258579a80d -r d7776fa70ef5 CanControl.h
--- a/CanControl.h	Fri May 12 20:30:34 2017 +0000
+++ b/CanControl.h	Sun May 21 22:00:17 2017 +0000
@@ -1,7 +1,12 @@
 #ifndef CANCONTROL_H
 #define CANCONTROL_H
 
+// uncomment to send debug information
+#define DEBUG
+
 #include "mbed.h"
+// include own libraries
+#include "pinout.h"
 
 #define BMSCANADDRESS 0x033
 
@@ -38,6 +43,7 @@
     
     DigitalOut _buckCan;
     DigitalOut _canEnable;
+    DigitalOut _ledRelay;
     Ticker repeat;
     bool enabled;    
 };