| 38 | #include "OLEDDisplay.h" |
| 39 | |
| 40 | OLEDDisplay::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 | |
| 56 | OLEDDisplay::~OLEDDisplay() { |
| 57 | end(); |
nothing calls this directly
no outgoing calls
no test coverage detected