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.
Dependencies: X_NUCLEO_53L1A2
Diff: main.cpp
- Revision:
- 2:7d8d349f52ce
- Parent:
- 1:52cac9f5ed6a
- Child:
- 3:6ecc831dc9fa
- Child:
- 9:57c341d81a9f
--- a/main.cpp Mon Nov 09 17:30:13 2020 +0000 +++ b/main.cpp Fri Apr 30 14:29:25 2021 +0000 @@ -41,7 +41,7 @@ // MBed V6.4 has renamed wait_ms and UnbufferedSerial replaces Serial #if (MBED_VERSION > 60300) -UnbufferedSerial pc(SERIAL_TX, SERIAL_RX); +UnbufferedSerial pc(USBTX, USBRX); extern "C" void wait_ms(int ms); #else Serial pc(SERIAL_TX, SERIAL_RX);