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: mbed ST_401_84MHZ
Revision 2:e8a50b55e6b1, committed 2019-12-12
- Comitter:
- kekette
- Date:
- Thu Dec 12 16:17:14 2019 +0000
- Parent:
- 0:9ad72c2aa3fa
- Child:
- 3:0d05d3686173
- Commit message:
- new
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Dec 12 16:09:07 2019 +0000
+++ b/main.cpp Thu Dec 12 16:17:14 2019 +0000
@@ -1,24 +1,5 @@
#include "mbed.h"
-/*------------------------------------------------------------------------------
-Before to use this example, ensure that you an hyperterminal installed on your
-computer. More info here: https://developer.mbed.org/handbook/Terminals
-
-The default serial comm port uses the SERIAL_TX and SERIAL_RX pins (see their
-definition in the PinNames.h file).
-
-The default serial configuration in this case is 9600 bauds, 8-bit data, no parity
-
-If you want to change the baudrate for example, you have to redeclare the
-serial object in your code:
-
-Serial pc(SERIAL_TX, SERIAL_RX);
-
-Then, you can modify the baudrate and print like this:
-
-pc.baud(115200);
-pc.printf("Hello World !\n");
-------------------------------------------------------------------------------*/
DigitalOut led(LED1);