Graphic OLED example program.

Dependencies:   GraphicOLED mbed

グラフィック有機ELモジュール100x16の使用例。
/media/uploads/va009039/graphicoled_helloworld.jpg

Files at this revision

API Documentation at this revision

Comitter:
va009039
Date:
Tue Aug 12 01:54:15 2014 +0000
Commit message:
first commit

Changed in this revision

GraphicOLED.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 2dcc728ca6a4 GraphicOLED.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GraphicOLED.lib	Tue Aug 12 01:54:15 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/va009039/code/GraphicOLED/#a6650dd2dbc8
diff -r 000000000000 -r 2dcc728ca6a4 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Aug 12 01:54:15 2014 +0000
@@ -0,0 +1,21 @@
+#include "mbed.h"
+#include "GraphicOLED.h"
+
+GraphicOLED oled(p24, p26, p27, p28, p29, p30); // rs, e, d4-d7
+RawSerial pc(USBTX,USBRX);
+
+int main()
+{
+    pc.printf("%s\n", __FILE__);
+
+    oled.cls();
+    oled.printf("Hello, world!\n");
+    oled.printf("あいアイアイ亜伊");
+
+    oled.locate(0,0);
+    while(1) {
+        int c = getchar();
+        oled.putc(c);
+    }       
+}
+
diff -r 000000000000 -r 2dcc728ca6a4 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Aug 12 01:54:15 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/6213f644d804
\ No newline at end of file