displaying on SSD1306, 128x64 pixels OLED
Diff: OLED.cpp
- Revision:
- 11:77aaf68a180b
- Parent:
- 10:8bf77efd1579
- Child:
- 12:b4d5e007640e
--- a/OLED.cpp Tue Feb 25 18:13:33 2020 +0000 +++ b/OLED.cpp Tue Feb 25 18:22:01 2020 +0000 @@ -72,9 +72,6 @@ clear(); } -/** - * clears the display - */ void OLED::clear() { loadStarted = false; loadPercent = 0; @@ -104,7 +101,7 @@ * * @param x horizontal pixelwise position, range [0,displayWidth - 6] * @param y vertical position, range [0,7] - * @param chr character put on display + * @param chr character to put on display */ void OLED::drawChar(uint8_t x, uint8_t y, uint8_t chr ) { command(SSD1306_SETCOLUMNADRESS); @@ -135,6 +132,7 @@ /** * Scroll display one line up. An empty line will arise at bottom. + * test: only in cpp */ void OLED::scroll() { for (int8_t line = 1; line <= 8; line++)