Digole Serial Display FRDM-KL25Z Test Program Requires pull-ups on the SDA & SCL data lines. Digole Serial modified with extra Stop commands so that it works with the FRDM-KL25Z I2C library functions. Works fine on LPC1768 without extra Stop commands.

Dependencies:   mbed

Revision:
0:535e018f97b9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sat Jun 22 09:33:42 2013 +0000
@@ -0,0 +1,21 @@
+#include "mbed.h"
+#include "DigoleSerialDisp.h"
+//Digole Serial Display FRDM-KL-25Z 
+DigoleSerialDisp myOLED(PTE0, PTE1, 0x27);
+DigitalOut myled(LED1);
+
+int main() {
+    myOLED.clearScreen();
+    myOLED.drawFrame(0,0,127,63);
+    myOLED.setPrintPos(1,1,_TEXT_);
+    myOLED.println("Hello");
+    myOLED.setPrintPos(1,2,_TEXT_);
+    myOLED.println("World");
+    
+    while(1) {
+        wait(1);
+        myled = 1;
+        wait(1);
+        myled = 0;
+    }
+}