Penn Electric Racing / Mbed 2 deprecated SystemManagement

Dependencies:   mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP

Fork of SystemManagement by Martin Deng

Revision:
30:91af74a299e1
Parent:
24:f58a3c0071c3
Child:
31:7eaa5e881b56
--- a/CANController/CANController.h	Fri Nov 07 21:26:46 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-#ifndef _FILE_CANCONTRL_H
-#define _FILE_CANCONTRL_H
-
-#include "DC_DC.h"
-#include "FanPump.h"
-
-enum ContrlPinName{
-    FAN1, FAN2, FAN3, PUMP
-};
-
-class CANController{
-public:
-    CANController();
-    bool dc_on();
-    void set_dc(bool status);   
-    bool write_contrl(ContrlPinName name, float duty);
-    void direct_off(ContrlPinName name, float duty);
-    float *read_control();
-
-private:
-    FanPump *contrl_pins[6];
-    DC dc;
-};
-
-#endif
\ No newline at end of file