![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
all bms comunicating with nucleo board and balancing
Fork of Can_sniffer_BMS_GER by
Diff: main.cpp
- Revision:
- 11:07d927da1a94
- Parent:
- 10:66da8731bdb6
- Child:
- 12:e91e44924194
diff -r 66da8731bdb6 -r 07d927da1a94 main.cpp --- a/main.cpp Fri Mar 11 12:19:22 2016 +0000 +++ b/main.cpp Fri Mar 11 12:29:38 2016 +0000 @@ -43,13 +43,13 @@ const unsigned int TX_ID = 0x100; #endif -DigitalOut led(LED_PIN); -int ledState; -Timer timer; -CAN can(PA_11, PA_12); // CAN Rx pin name, CAN Tx pin name -CANMessage rxMsg; -CANMessage txMsg; -int counter = 0; +DigitalOut led(LED_PIN); +int ledState; +Timer timer; +CAN can(PA_11, PA_12); // CAN Rx pin name, CAN Tx pin name +CANMessage rxMsg; +CANMessage txMsg; +int counter = 0; volatile bool msgAvailable = false; /**