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/DC_DC/DC_DC.cpp	Fri Nov 07 21:26:46 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-#include "mbed.h"
-#include "DC_DC.h"
-
-DigitalOut dc_pin(p20);
-DigitalOut dc_control(p18);
-
-#define OFF 1
-#define ON 0
-
-DC::DC(){
-    dc_control = OFF;
-}
-
-bool DC::is_on(){
-    return dc_pin;
-}
-
-void DC::set(bool s){
-    if(s)
-        dc_control = ON;
-    else
-        dc_control = OFF;
-}
\ No newline at end of file