Skip to content

OLED display refresh (oded_refresh)

What it does: Transfers the current framebuffer content to the OLED display (display.show()).

oded_refresh

Inputs

  • No data inputs.

Output

  • None (statement block).

When to use it

  • After finishing drawing the current frame to the framebuffer.
  • In a regular loop during animations and continuous UI update.

Tips and pitfalls

  • The block only transfers the current buffer to the display (display.show()), it does not draw anything itself.
  • It is more efficient to do multiple drawing operations and then call oded_refresh once.

Usage example

example_oled_dsiplay

Open example in ESP IDE

Generated Python example

display.show()