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:
- mab5449
- Date:
- 2017-01-19
- Revision:
- 0:8d318218bac1
- Child:
- 1:fdb8ecdf954f
File content as of revision 0:8d318218bac1:
#include "mbed.h" //K64F Serial pc(USBTX, USBRX); // tx, rx Serial device(MBED_CONF_APP_UART1_TX, MBED_CONF_APP_UART1_RX); // tx, rx int main() { while(1) { if(pc.readable()) { device.putc(pc.getc()); } if(device.readable()) { pc.putc(device.getc()); } } }