SSD1306 OLED display driver 1.8.2 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)
Public Member Functions inherited from LcdConsole< ssd1306_consoleWriter >
| 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 | print (int n)
size_t | println (const char *str)
size_t | println (int data)

## 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 92 of file ssd1306_console.h.

## Member Function Documentation

## ◆ clear()

void Ssd1306Console::clear | ( |  | ) |

Fills screen with zero-byte and sets cursor position to top-left corner of the screen.

## ◆ 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:

- ssd1306_console.h