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
Fork of STMNucleoF401RE_ExampleCode_01_SerialBau by
main.cpp
- Committer:
- mandirolaf
- Date:
- 2017-01-13
- Revision:
- 2:8a544adebbce
- Parent:
- 0:2b1f330bb53a
File content as of revision 2:8a544adebbce:
/**************************************************** * FAST PROTOTYPING WITH NUCLEO * * Example Code 01: Serial baud * * Author: Mauro D'Angelo * * Organization: Perlatecnica no-profit organization * ***************************************************** * Hyperterminal configuration * * 115200 bauds, 8-bit data, no parity * *****************************************************/ #include "mbed.h" // Instanzia un oggetto di tipo Serial sui pin Tx e Rx della porta USB e gli da il nome pc (trattandosi della porta USB connessa al PC) Serial pc(USBTX, USBRX); int main() { // Mofica del baudrate pc.baud(9600); // Stampa sulla seriale la stringa pc.printf("Hello World !\r\n"); }