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:
- 11:07d927da1a94
- Parent:
- 10:66da8731bdb6
- Child:
- 12:e91e44924194
--- 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; /**