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:88ed230ff73c, committed 2013-05-02
- Comitter:
- mottiex
- Date:
- Thu May 02 13:25:35 2013 +0000
- Commit message:
- xbee gettin! rfid
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TextLCD.lib Thu May 02 13:25:35 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/simon/code/TextLCD/#e4cb7ddee0d3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Thu May 02 13:25:35 2013 +0000
@@ -0,0 +1,25 @@
+#include "mbed.h"
+#include "TextLCD.h"
+
+TextLCD lcd(p15,p16,p17,p18,p19,p20);
+DigitalOut myled(LED1);
+Serial xbee1(p9, p10);
+
+int main() {
+ int data;
+ // int prev;
+ while(1)
+ {
+ myled = 1;
+ if (xbee1.readable())
+ {
+ xbee1.scanf(" %d", &data);
+ myled = 0;
+ // prev = data;
+ wait(0.01);
+ lcd.printf(" Pin: %d", data);
+ wait(20);
+ }
+ lcd.cls();
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu May 02 13:25:35 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/7e6c9f46b3bd \ No newline at end of file