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.
Fork of IoTWorkshopLCD by
Revision 0:4ea8268e9d66, committed 2014-02-03
- Comitter:
- sam_grove
- Date:
- Mon Feb 03 04:54:17 2014 +0000
- Child:
- 1:ac55ff7b1a7d
- Commit message:
- Initial commit
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/C027.lib Mon Feb 03 04:54:17 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/teams/ublox/code/C027/#37252d7bcd9e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/C12832_lcd.lib Mon Feb 03 04:54:17 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/chris/code/C12832_lcd_fork/#8a9cad03124b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Mon Feb 03 04:54:17 2014 +0000
@@ -0,0 +1,26 @@
+#include "mbed.h"
+#include "C027.h"
+#include "C12832_lcd.h"
+
+//#define MBED_APPS_SHIELD
+#define MBED_APPS_BOARD
+
+DigitalOut myled(LED1);
+#if defined(MBED_APPS_SHIELD)
+ C12832_LCD lcd(D11, D13, D12, D7, D10);
+#elif defined(MBED_APPS_BOARD)
+ C12832_LCD lcd(p5, p7, p6, p8, p11);
+#else
+#error application board not defined
+#endif
+
+int main() {
+ while(1) {
+ myled = 1;
+ wait(0.2);
+ myled = 0;
+ wait(0.2);
+ lcd.locate(0,0);
+ lcd.printf("Hello IoT Workshop\n");
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Feb 03 04:54:17 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/a9913a65894f \ No newline at end of file
