Harry Chen / EPD_GDEW075T8

Dependents:   EInkTest

Revision:
1:6ae4383194a1
Child:
4:a038b8b2ee11
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DemoPixelSource.h	Mon Oct 15 03:53:22 2018 +0000
@@ -0,0 +1,17 @@
+#ifndef DEMOPIXELSOURCE_H
+#define DEMOPIXELSOURCE_H
+
+#include "PixelSource.h"
+
+namespace GDE {
+
+    class DemoPixelSource: public PixelSource {
+    public: 
+        virtual unsigned char nextPixelGroup() {
+            return (count++ & 1) ? 0xff : 0x00;
+        }
+    };
+
+}
+
+#endif
\ No newline at end of file