Harry Chen / EPD_GDEW075T8

Dependents:   EInkTest

DemoPixelSource.h

Committer:
HarryChen
Date:
2018-10-15
Revision:
1:6ae4383194a1
Child:
4:a038b8b2ee11

File content as of revision 1:6ae4383194a1:

#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