all bms comunicating with nucleo board and balancing
Fork of Can_sniffer_BMS_GER by
Diff: main.cpp
- Revision:
- 28:2329d581e394
- Parent:
- 27:21239801cfd3
- Child:
- 29:3af76325f86a
diff -r 21239801cfd3 -r 2329d581e394 main.cpp --- a/main.cpp Mon Oct 24 20:55:53 2016 +0000 +++ b/main.cpp Mon Oct 24 21:37:48 2016 +0000 @@ -164,7 +164,7 @@ txMsg.id = 9; //BMS1=>ID:11; BMS2=>ID:12; BMS3=>ID:13. txMsg.len = 1; // txMsg.data[0] = (0b00000001 & key_switch)|((0b00000001 & to_charge_or_not_to_charge)<<1); -txMsg.data[0] = 0b00000000; +txMsg.data[0] = 0b00000010; //------------------------------------------------ if(can.write(txMsg)) {