all bms comunicating with nucleo board and balancing
Dependencies: CANnucleo LTC68041 mbed
Fork of BMS_2 by
Diff: main.cpp
- Revision:
- 24:f47f1fd6ce01
- Parent:
- 23:bde0179eee92
- Child:
- 25:6f4f7510db24
--- a/main.cpp Sat Oct 22 17:41:59 2016 +0000 +++ b/main.cpp Sat Oct 22 19:05:26 2016 +0000 @@ -303,7 +303,7 @@ to_send=0; txMsg.clear(); - txMsg.id = 11; + txMsg.id = 13; //BMS1=>ID:11; BMS2=>ID:12; BMS3=>ID:13. txMsg.len = 5; data.f[0] = cell_codes[0][cells_left-1]*0.0001; txMsg.data[0] = data.bytes[0];