Skip to main content

SSD1306

Use these blocks with 128x64 OLED displays based on the SSD1306 controller.

warning

Most shared graphics and shared text blocks draw into the SSD1306's memory buffer first. The screen does not update until you use display buffer.

Add SSD1306 display

Add the OLED display and choose its I2C address.

Clear SSD1306 buffer

Clear the off-screen buffer without updating the visible screen yet.

Display SSD1306 buffer

Push the current buffer to the OLED so the user can see the new frame.

info

A common SSD1306 sequence is: clear buffer, draw shapes or text, then display buffer.