Harry Chen / EPD_GDEW075T8

Dependents:   EInkTest

Files at this revision

API Documentation at this revision

Comitter:
HarryChen
Date:
Wed Oct 17 14:05:23 2018 +0000
Parent:
4:a038b8b2ee11
Commit message:
Update

Changed in this revision

DemoPixelSource.h Show annotated file Show diff for this revision Revisions of this file
PixelSource.h Show annotated file Show diff for this revision Revisions of this file
--- a/DemoPixelSource.h	Wed Oct 17 14:00:19 2018 +0000
+++ b/DemoPixelSource.h	Wed Oct 17 14:05:23 2018 +0000
@@ -6,12 +6,17 @@
 namespace GDE {
 
     class DemoPixelSource: public PixelSource {
+        
         unsigned char inverted;
+        
     public: 
+    
         virtual unsigned char nextPixelGroup() {
             return (count++ & 1) ? ~inverted : inverted;
         }
-        void setColor(bool _inverted) { inverted = _inverted ? 0xff : 0x00; }
+        void setColor(bool _inverted) {
+            inverted = _inverted ? 0xff : 0x00;
+        }
     };
 
 }
--- a/PixelSource.h	Wed Oct 17 14:00:19 2018 +0000
+++ b/PixelSource.h	Wed Oct 17 14:05:23 2018 +0000
@@ -7,7 +7,7 @@
     public:
         virtual void init() {
             count = 0;
-        };
+        }
         virtual unsigned char nextPixelGroup() {
             return 0xff;
         }