Harry Chen / Mbed 2 deprecated EInkTest

Dependencies:   EPD_GDEW075T8 mbed

Files at this revision

API Documentation at this revision

Comitter:
HarryChen
Date:
Wed Oct 17 14:05:45 2018 +0000
Parent:
5:326a3e0e6950
Commit message:
Update

Changed in this revision

EPD_GDEW075T8.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
--- a/EPD_GDEW075T8.lib	Wed Oct 17 14:00:37 2018 +0000
+++ b/EPD_GDEW075T8.lib	Wed Oct 17 14:05:45 2018 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/HarryChen/code/EPD_GDEW075T8/#a038b8b2ee11
+https://os.mbed.com/users/HarryChen/code/EPD_GDEW075T8/#fa9eb887e9a6
--- a/main.cpp	Wed Oct 17 14:00:37 2018 +0000
+++ b/main.cpp	Wed Oct 17 14:05:45 2018 +0000
@@ -2,7 +2,7 @@
 #include "GDEW075T8.h"
 #include "DemoPixelSource.h"
 
-// TODO: use real pin name
+
 DigitalOut nCS(PA_4);
 DigitalOut nDC(PA_1);
 DigitalOut nRST(PA_3);
@@ -17,11 +17,13 @@
     
     GDE::setup(&nCS, &nDC, &nRST, &ready, &spi);
     GDE::start();
-    while(true){
+    
+    while(true) {
         demoSource->setColor(false);
         GDE::showPixels(demoSource);
         demoSource->setColor(true);
         GDE::showPixels(demoSource);
     }
+    
     GDE::stop();
 }