![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
updated version with parameters loaded from sdcard
Dependencies: F7_Ethernet mbed MbedJSONValue LCD_DISCO_F746NG mbed-rtos BSP_DISCO_F746NG CANMsg NetworkAPI SDFileSystem_Warning_Fixed GroveStreamsmodified LcdDiscoF746NgTracer JSON
Diff: main.cpp
- Branch:
- jpa
- Revision:
- 9:332bd237b98f
- Parent:
- 8:275ae4382788
- Child:
- 10:41aff2b7acc6
diff -r 275ae4382788 -r 332bd237b98f main.cpp --- a/main.cpp Tue Sep 08 15:00:05 2020 +0000 +++ b/main.cpp Tue Sep 08 15:01:08 2020 +0000 @@ -242,13 +242,13 @@ } if (msgSerialUSB > 0) {receiveSerialUSB();} - if (stringSerialUSBok == 1) {stringSerialUSBok=0;printf("Trame SerialUSB : %s",stringSerialUSB);} + if (stringSerialUSBok == 1) {printf("Trame SerialUSB : %s",stringSerialUSB);stringSerialUSBok=0;} if (msgSerial2 > 0) {receiveSerial2();} - if (stringSerial2ok == 1) {stringSerial2ok=0;printf("Trame Serial2 : %s",stringSerial2);} + if (stringSerial2ok == 1) {printf("Trame Serial2 : %s",stringSerial2);stringSerial2ok=0;} if (msgSerial7 > 0) {receiveSerial7();} - if (stringSerial7ok == 1) {stringSerial7ok=0;printf("Trame Serial7 : %s",stringSerial7);} + if (stringSerial7ok == 1) {printf("Trame Serial7 : %s",stringSerial7);stringSerial7ok=0;} // timer send can if(timer.read_ms() >= 10000) // check for timeout