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.
Revision 0:aece59f1e125, committed 2015-08-17
- Comitter:
- Hagrass
- Date:
- Mon Aug 17 11:17:31 2015 +0000
- Commit message:
- gjhgv;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r 000000000000 -r aece59f1e125 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Aug 17 11:17:31 2015 +0000 @@ -0,0 +1,60 @@ +#include "mbed.h" + +//DigitalOut myled(LED1); +Serial xbee(p9,p10); +int z=240; +int main() { + xbee.baud(115200); + while(1) { + // wait(2); + xbee.printf("."); + + xbee.printf("p"); + wait(0.01); + xbee.printf("1"); + wait(0.01); + xbee.printf("2"); + wait(0.01); + xbee.printf("3"); + wait(0.01); + xbee.printf("4"); + wait(0.01); + xbee.printf("."); + + xbee.printf("t"); + wait(0.01); + xbee.printf("1"); + wait(0.01); + xbee.printf("2"); + wait(0.01); + xbee.printf("3"); + wait(0.01); + xbee.printf("4"); + wait(0.01); + xbee.printf("."); + wait(0.01); + xbee.printf("h"); + wait(0.01); + xbee.printf("1"); + wait(0.01); + xbee.printf("2"); + wait(0.01); + xbee.printf("3"); + wait(0.01); + xbee.printf("4"); + wait(0.01); + xbee.printf("."); + wait(0.01); + xbee.printf("e"); + wait(0.01); + xbee.printf("1"); + wait(0.01); + xbee.printf("2"); + wait(0.01); + xbee.printf("3"); + wait(0.01); + xbee.printf("4"); + wait(0.01); + } + +}
diff -r 000000000000 -r aece59f1e125 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Aug 17 11:17:31 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/b9ad9a133dc7 \ No newline at end of file