mirror of https://github.com/JorjBauer/aiie
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
|