Ultima versão da banca de ensaios ECU Fev2017

Dependencies:   CANnucleo mbed

Fork of Can_sniffer_BMS4 by Gerardo Antonio

Revision:
28:2329d581e394
Parent:
27:21239801cfd3
Child:
29:3af76325f86a
--- 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)) {