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:
- axm904
- Date:
- 2011-09-21
- Revision:
- 0:f04f6d613205
File content as of revision 0:f04f6d613205:
#include "mbed.h"
Serial pc(USBTX, USBRX);
Serial erad(p9, p10);
char tex;
int stat=0;
int main() {
erad.baud(19200);
while(1) {
stat=erad.readable();
if(stat>0){
erad.scanf("%s",&tex);
pc.printf("%s",tex);
}
}
}