Harry Chen / Mbed 2 deprecated EInkTest

Dependencies:   EPD_GDEW075T8 mbed

Revision:
1:4083aff0fa16
Parent:
0:770c45c51d26
Child:
2:686cb2cf459f
--- a/main.cpp	Sun Oct 14 17:04:17 2018 +0000
+++ b/main.cpp	Mon Oct 15 03:53:31 2018 +0000
@@ -1,8 +1,12 @@
 #include "mbed.h"
 #include "GDEW075T8.h"
+#include "DemoPixelSource.h"
 
 int main() {
-    GDE_Start();
-    GDE_ShowDemo();
-    GDE_Stop();
+    
+    GDE::PixelSource demoSource = GDE::DemoPixelSource();
+    
+    GDE::start();
+    GDE::showPixels(demoSource);
+    GDE::stop();
 }