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.
Diff: main.cpp
- Revision:
- 11:9080f0d4fd85
- Parent:
- 10:9a7884230fd8
- Child:
- 12:27055a1b43ed
--- a/main.cpp Wed Dec 12 10:46:12 2018 +0000 +++ b/main.cpp Mon Mar 11 12:32:47 2019 +0000 @@ -8,6 +8,11 @@ * - Reads userbutton * - Prints on serial terminal * - Reads character from serial terminal + * + * To run the code on the mbed-simulator, change: + - Change #define PRESSED 0 to 1 + - Delete the Serial pc object + - substitute pc.printf() by printf() */ Serial pc(SERIAL_TX, SERIAL_RX);