MCPcopy Create free account
hub / github.com/PricelessToolkit/MailBoxGuard / OLEDDisplay

Method OLEDDisplay

Code/Arduino_libraries/SSD1306/OLEDDisplay.cpp:40–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38#include "OLEDDisplay.h"
39
40OLEDDisplay::OLEDDisplay() {
41
42 displayWidth = 128;
43 displayHeight = 64;
44 displayBufferSize = displayWidth * displayHeight / 8;
45 color = WHITE;
46 geometry = GEOMETRY_128_64;
47 textAlignment = TEXT_ALIGN_LEFT;
48 fontData = ArialMT_Plain_10;
49 fontTableLookupFunction = DefaultFontTableLookup;
50 buffer = NULL;
51#ifdef OLEDDISPLAY_DOUBLE_BUFFER
52 buffer_back = NULL;
53#endif
54}
55
56OLEDDisplay::~OLEDDisplay() {
57 end();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected