Skip to content

Commit cbccbe2

Browse files
author
Martin Klang
committed
added notes
1 parent 0658dd2 commit cbccbe2

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

LibSource/ColourScreenPatch.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
typedef uint16_t Colour;
1414
typedef ScreenBuffer<uint16_t, BLACK, WHITE> ColourScreenBuffer;
1515

16+
/**
17+
* Abstract base class for patches that use a colour screen.
18+
* Colour format is 16 bits RGB565: RRRRR GGGGGG BBBBB
19+
* Compatible OLED drivers: SSD1331, SEPS1114A
20+
*/
1621
class ColourScreenPatch : public Patch {
1722
public:
1823
ColourScreenPatch();

LibSource/MonochromeScreenPatch.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
typedef uint8_t Colour;
88
typedef ScreenBuffer<uint8_t, BLACK, WHITE> MonochromeScreenBuffer;
99

10+
/**
11+
* Abstract base class for patches that use a monochrome screen.
12+
* Compatible OLED drivers: SSD1309
13+
*/
1014
class MonochromeScreenPatch : public Patch {
1115
public:
1216
MonochromeScreenPatch();

0 commit comments

Comments
 (0)