Harry Chen / Mbed 2 deprecated EInkTest

Dependencies:   EPD_GDEW075T8 mbed

Revision:
6:0d38aa19198e
Parent:
5:326a3e0e6950
--- 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();
 }