SSD1306 OLED display driver 1.7.8 This library is developed to control SSD1306/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays

Public Member Functions | List of all members
Ssd1306Console Class Reference

`#include <ssd1306_console.h>`

Inheritance diagram for Ssd1306Console:

## Public Member Functions
void | clear ()
void | setCursor (lcduint_t x, lcduint_t y)
| LcdConsole ()
Public Member Functions inherited from LcdConsole< ssd1306_write >
| LcdConsole ()
void | begin ()
size_t | write (uint8_t ch) override
Public Member Functions inherited from Print
| Print ()
size_t | print (const char *str)
size_t | println (const char *str)

## Detailed Description

Ssd1306Console represents object to work with LCD display. Easy to use:

Ssd1306Console console;
void setup()
{
ssd1306_128x64_spi_init(3, 4, 5);
ssd1306_clearScreen();
console.print( "Hello" );
}

Definition at line 85 of file ssd1306_console.h.

## Member Function Documentation

## ◆ clear()

void Ssd1306Console::clear | ( |  | ) |

Fills screen with zero-byte

## ◆ LcdConsole()

LcdConsole< W >::LcdConsole
| inline explicit

Creates console object to print text information on LCD display.

Definition at line 50 of file ssd1306_console.h.

## ◆ setCursor()

void Ssd1306Console::setCursor | ( | lcduint_t | x,
|  | lcduint_t | y
| ) |  |

Set cursor position for text functions

Parameters

  x | horizontal position in pixels.
  y | vertical position in pixels.

The documentation for this class was generated from the following file:

- src/ssd1306_console.h