Demo program for driving the memory LCD on the Zero Gecko Starter Kit.

Dependencies:   MemoryLCD mbed

This demo program shows how to drive the memory LCD on the Zero Gecko Starter Kit, by using asynchronous transfers.

Information

All examples in this repo are considered EXPERIMENTAL QUALITY, meaning this code has been created as one-off proof-of-concept and is suitable as a demonstration for experimental purposes only. This code will not be regularly maintained by Silicon Labs and there is no guarantee that these projects will work across all environments, SDK versions and hardware.

Revision:
7:ce493681a94b
Parent:
3:95c3a389bc88
Child:
10:2acd2401b1a0
--- a/main.cpp	Fri May 01 16:02:12 2015 -0700
+++ b/main.cpp	Wed May 06 21:33:10 2015 +0000
@@ -26,7 +26,7 @@
 DigitalOut DISP(DISP_PIN);
 DigitalOut DISP_SEL(DISPSEL_PIN);
  
-SPI displaySPI(MOSI, NC, SCK);
+SPI displaySPI(MOSI_PIN, NC, SCK_PIN);
 silabs::LS013B7DH03 display(&displaySPI, &CS, &EXTCOM);
 
 /******************** Define Timers *****************************/
@@ -57,7 +57,7 @@
 /*************************** MAIN *******************************/
 int main() {
     // Enable the LCD
-    EXTMODE = 1;
+    DISP_SEL = 1;
     DISP = 1;
  
     // Start generating the 1Hz call for keeping time