adafruit_displayio_ssd1306

DisplayIO driver for SSD1306 monochrome displays

  • Author(s): Scott Shawcroft

Implementation Notes

Hardware:

Software and Dependencies:

class adafruit_displayio_ssd1306.SSD1306(*args: Any, **kwargs: Any)

SSD1306 driver

Parameters
  • width (int) – The width of the display

  • height (int) – The height of the display

  • rotation (int) – The rotation of the display in degrees. Default is 0. Must be one of (0, 90, 180, 270)

property is_awake

The power state of the display. (read-only)

True if the display is active, False if in sleep mode.

Type

bool

sleep()

Put display into sleep mode.

Display uses < 10uA in sleep mode. Display remembers display data and operation mode active prior to sleeping. MP can access (update) the built-in display RAM.

wake()

Wake display from sleep mode