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.
Fork of Can_sniffer_BMS4 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)) {