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:
- APanecatl
- Date:
- 2014-07-09
- Revision:
- 0:7dfe47e78cf1
File content as of revision 0:7dfe47e78cf1:
#include "mbed.h" //Digital output declaration DigitalOut Blue(LED3); //Serial port (UART) configuration Serial pc(USBTX,USBRX); int main() { Blue=1; pc.printf("Serial code example\r\n"); while(1) { Blue=0; pc.putc(pc.getc()); } }