Penn Electric Racing / Mbed 2 deprecated SystemManagement

Dependencies:   mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP

Fork of SystemManagement by Martin Deng

Committer:
martydd3
Date:
Tue Oct 21 23:44:15 2014 +0000
Revision:
12:e0adb697fcdb
Parent:
10:db13782f05d9
Added Error update thread, changed CAN message IDs

Who changed what in which revision?

UserRevisionLine numberNew contents of line
martydd3 10:db13782f05d9 1 #ifndef _FILE_CURRENTMONITOR_H
martydd3 10:db13782f05d9 2 #define _FILE_CURRENTMONITOR_H
martydd3 10:db13782f05d9 3
martydd3 10:db13782f05d9 4 #include "mbed.h"
martydd3 10:db13782f05d9 5 #include "rtos.h"
martydd3 10:db13782f05d9 6 #include "CANBuffer.h"
martydd3 10:db13782f05d9 7
martydd3 10:db13782f05d9 8 const int TX_CURRENT_ID = ((4 << 8) | 3);
martydd3 10:db13782f05d9 9
martydd3 10:db13782f05d9 10 class CurrentMonitor{
martydd3 10:db13782f05d9 11 public:
martydd3 10:db13782f05d9 12 CurrentMonitor(CANBuffer *can);
martydd3 10:db13782f05d9 13 void start_update();
martydd3 10:db13782f05d9 14
martydd3 10:db13782f05d9 15 private:
martydd3 10:db13782f05d9 16
martydd3 10:db13782f05d9 17 };
martydd3 10:db13782f05d9 18 #endif