all bms comunicating with nucleo board and balancing
Fork of Can_sniffer_BMS_GER by
Diff: main.cpp
- Revision:
- 31:6427569cadbe
- Parent:
- 30:1bc79ae58a42
- Child:
- 32:977a1b5728e4
diff -r 1bc79ae58a42 -r 6427569cadbe main.cpp --- a/main.cpp Tue Oct 25 12:50:07 2016 +0000 +++ b/main.cpp Tue Oct 25 17:28:55 2016 +0000 @@ -53,7 +53,6 @@ -ligar carregador e ver que tensoes de CAN e de saida manda cá para fora+ ver que mensagens -experimentar leer valores programados no charger com SDO messages (ver o que é um lsb) -experimentar fazer um procedimento de precharge --se a play and drive nao responder a tempo entao fazer logo com precharge Mensagens: (charger CAN node is 11 by default. So the Id of the message will be 0x60B in @@ -171,7 +170,7 @@ } data; //bool to_charge_or_not_to_charge=true; // false = discharge -bool charging = false; +bool charging = true; uint8_t motostate=0;