Shinichiro Nakamura / Mbed 2 deprecated DearMrJonWard

Files at this revision

API Documentation at this revision

Comitter:
shintamainjp
Date:
Tue Sep 07 11:06:15 2010 +0000
Commit message:

Changed in this revision

TextLCD.lib Show annotated file Show diff for this revision Revisions of this file
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 f0bd9eca98c8 TextLCD.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TextLCD.lib	Tue Sep 07 11:06:15 2010 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/simon/code/TextLCD/#44f34c09bd37
diff -r 000000000000 -r f0bd9eca98c8 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Sep 07 11:06:15 2010 +0000
@@ -0,0 +1,61 @@
+/**
+ * ===========================================================================================
+ * Dear Mr. Jon Ward.
+ *
+ * Hi.
+ *
+ * I'll send you a base board for mbed NXP LPC1768. :)
+ * The name is 'StarBoard Orange'.
+ * It designed by logic_star. (http://mbed.org/users/lofic_star/)
+ *
+ * There are some examples in my program page. : http://mbed.org/users/shintamainjp/programs/
+ * Please see also my notebooks for this board. : http://mbed.org/users/shintamainjp/notebook
+ *
+ * Thank you so much!
+ *
+ * Best regards,
+ * Shin.
+ *
+ * P.S. Please show the board to mbed team if you can :) I love this board. It's great.
+ * ===========================================================================================
+ *
+ * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems)
+ * http://shinta-main-jp.blogspot.com/
+ *
+ * ===========================================================================================
+ */
+
+#include "mbed.h"
+#include "TextLCD.h"
+
+Ticker ticker;
+BusOut led(LED4, LED3, LED2, LED1);
+TextLCD lcd(p24, p26, p27, p28, p29, p30);
+
+void func_tick(void) {
+    led = led + 1;
+}
+
+int main() {
+    ticker.attach(&func_tick, 1);
+    
+    lcd.cls();
+    
+    while(1) {
+        lcd.cls();
+        lcd.locate(0, 0);
+        lcd.printf("This is a mbed");
+        lcd.locate(0, 1);
+        lcd.printf("base board.");
+        
+        wait(2);
+        
+        lcd.cls();
+        lcd.locate(0, 0);
+        lcd.printf("The name is ");
+        lcd.locate(0, 1);
+        lcd.printf("StarBoard Orange");
+        
+        wait(2);
+    }
+}
diff -r 000000000000 -r f0bd9eca98c8 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Sep 07 11:06:15 2010 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/e2ac27c8e93e