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 ConfigFile
Fork of app4-router by
main.cpp
- Committer:
- passelin
- Date:
- 2014-02-22
- Revision:
- 0:ed0e18b7fa30
- Child:
- 1:568707763458
File content as of revision 0:ed0e18b7fa30:
#include "mbed.h" DigitalOut myled(LED1); DigitalOut reset(p8); Serial pc(USBTX, USBRX); Serial xbee(p13, p14); int main() { reset = 0; while(1) { if(xbee.readable()) { pc.putc(xbee.getc()); } if(pc.readable()) { xbee.putc(pc.getc()); } } }