Harry Chen / EPD_GDEW075T8

Dependents:   EInkTest

Revision:
1:6ae4383194a1
Parent:
0:518ad5d26088
Child:
2:73f957691c31
--- a/GDEW075T8.h	Sun Oct 14 17:03:59 2018 +0000
+++ b/GDEW075T8.h	Mon Oct 15 03:53:22 2018 +0000
@@ -1,9 +1,18 @@
 #ifndef __GDEW075T8_H
 #define __GDEW075T8_H 
 
-void GDE_Start(void);
-void GDE_Stop(void);
-void GDE_ShowDemo();
+#include "PixelSource.h"
+
+namespace GDE {
+    
+    const int BUFFER_SIZE = 640 * 384 / 8;
 
+    void start();
+    void stop();
+    void refresh();
+    
+    void showPixels(PixelSource &source, bool needRefresh = true);
+
+}
 
 #endif
\ No newline at end of file