Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: CANBuffer mbed SystemManagement mbed-rtos
Diff: DC_DC/DC_DC.h
- Revision:
- 6:6a04210a3f4f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/DC_DC/DC_DC.h Fri Oct 10 20:24:22 2014 +0000
@@ -0,0 +1,19 @@
+#ifndef _FILE_DC_DC_H
+#define _FILE_DC_DC_H
+
+#include "CANBuffer.h"
+#include "FanPump.h"
+#include "rtos.h"
+
+const int TX_DC_DC_ID = ((4 << 8) | 5);
+const int RX_DC_DC_ID = ((4 << 8) | 14);
+
+class DC{
+public:
+ DC(FanPump *fanPump, CANBuffer *can); //constructor takes function to shut down certain processes when off
+ bool is_on();
+ void set(bool status);
+ void start_update();
+};
+
+#endif
\ No newline at end of file