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.
main.cpp
- Committer:
- cspista
- Date:
- 2021-12-16
- Revision:
- 0:dae7360f58d4
File content as of revision 0:dae7360f58d4:
#include "mbed.h"
Serial pc(USBTX,USBRX); //UART via ST-Link
int main()
{
pc.printf("\r\nWelcome to NUCLEO-F446RE board!\r\n");
while(1) {
char c = pc.getc(); //Read one character
pc.printf("received char: %c = %d\r\n",c,c);
}
}