fortschritt plottyfile

This commit is contained in:
Tristan Krause 2019-03-27 16:08:28 +01:00
parent 0f71e121fa
commit 71b156aa6f
13 changed files with 71 additions and 17 deletions

26
drv/dot.h Normal file
View file

@ -0,0 +1,26 @@
#ifndef DOT_H
#define DOT_H
#include <cstdint>
enum DotColor
{
PURPLE = 0,
GREEN = 32,
};
class Dot
{
public:
Dot(uint16_t x, uint16_t y, DotColor color);
uint16_t getX(void) const;
uint16_t getY(void) const;
DotColor getColor(void) const;
private:
uint16_t x, y;
DotColor color;
};
#endif // DOT_H