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:644275e48645, committed 2013-05-02
- Comitter:
- hnoons
- Date:
- Thu May 02 10:23:05 2013 +0000
- Commit message:
- wifi receieve before pin
Changed in this revision
diff -r 000000000000 -r 644275e48645 TextLCD.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TextLCD.lib Thu May 02 10:23:05 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/simon/code/TextLCD/#44f34c09bd37
diff -r 000000000000 -r 644275e48645 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu May 02 10:23:05 2013 +0000 @@ -0,0 +1,31 @@ +#include "mbed.h" +#include "TextLCD.h" + +Serial xbee1(p9, p10); +DigitalOut rst1(p11); + +DigitalOut myled(LED1); +DigitalOut myled2(LED2); + +TextLCD lcd(p15, p16, p17, p18, p19, p20); + +int main() { + rst1 = 0; //Set reset pin to 0 + myled = 0; + myled2= 0; + wait_ms(1); + rst1 = 1; //Set reset pin to 1 + wait_ms(1); + + lcd.printf("starting\n"); + wait(2); + lcd.cls(); + + while (1) { + + if(xbee1.readable()){ + char a = xbee1.getc(); + lcd.printf("%d", a); + } + } + } \ No newline at end of file
diff -r 000000000000 -r 644275e48645 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu May 02 10:23:05 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/7e6c9f46b3bd \ No newline at end of file