Nokia 5110 test program on KL25Z platform using Chris Yang's NOKIA_5110 library

Dependencies:   NOKIA_5110 mbed

Dependents:   NOKIA_KOMBAT

Files at this revision

API Documentation at this revision

Comitter:
ThihaElectronics
Date:
Sun Mar 23 03:04:48 2014 +0000
Commit message:
Nokia 5110 test program on KL25Z platform using Chris Yan Nokia5110 library

Changed in this revision

NOKIA_5110.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 083b72141582 NOKIA_5110.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NOKIA_5110.lib	Sun Mar 23 03:04:48 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/Fuzball/code/NOKIA_5110/#9cfce382e741
diff -r 000000000000 -r 083b72141582 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sun Mar 23 03:04:48 2014 +0000
@@ -0,0 +1,20 @@
+#include "mbed.h"
+#include "NOKIA_5110.h"
+
+int main() {
+    
+    
+/*  PinName mosi;
+    PinName miso;
+    PinName sclk;
+    PinName dc;
+    PinName sce;
+    PinName rst;*/
+    
+    LcdPins myLcdPins = { PTC6, NC, PTC5, PTD2, PTD0, PTD3 };
+    NokiaLcd myLcd( myLcdPins );    // SPI is started here (8-bits, mode 1)
+    myLcd.InitLcd();                // LCD is reset and DDRAM is cleared
+    myLcd.DrawString("Hello");   
+    while(1)
+    {   };
+}
diff -r 000000000000 -r 083b72141582 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sun Mar 23 03:04:48 2014 +0000
@@ -0,0 +1,1 @@
+http://world3.dev.mbed.org/users/mbed_official/code/mbed/builds/824293ae5e43
\ No newline at end of file