CAN Headers.
Diff: CANProtocol.h
- Revision:
- 8:3f7b957d3617
- Parent:
- 7:dfc98924151b
diff -r dfc98924151b -r 3f7b957d3617 CANProtocol.h --- a/CANProtocol.h Sat Apr 28 22:38:28 2012 +0000 +++ b/CANProtocol.h Sat Apr 28 22:44:32 2012 +0000 @@ -22,28 +22,14 @@ const int CAN_STATUS = 0x400; /* Relaxed Response: Status */ /* BMS CAN */ - -namespace BMS { - const int ID0 = 0x620; const int ID1 = 0x621; const int ID2 = 0x622; const int ID3 = 0x623; - -struct voltages { - unsigned short pack; - unsigned char minVolt; - unsigned char minVoltNum; - unsigned char maxVolt; - unsigned char maxVoltNum; -}; - const int ID4 = 0x624; const int ID5 = 0x625; const int ID6 = 0x626; const int ID7 = 0x627; const int ID8 = 0x628; -} - #endif