mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-11-19 11:31:00 +00:00
14 lines
298 B
C
14 lines
298 B
C
|
#ifndef __PHYSICALPRINTER_H
|
||
|
#define __PHYSICALPRINTER_H
|
||
|
|
||
|
class PhysicalPrinter {
|
||
|
public:
|
||
|
virtual ~PhysicalPrinter() {}
|
||
|
// must be 960 pixels wide (120 bytes)
|
||
|
virtual void addLine(uint8_t *rowOfBits) = 0;
|
||
|
virtual void update() = 0;
|
||
|
virtual void moveDownPixels(uint8_t p) = 0;
|
||
|
};
|
||
|
|
||
|
#endif
|