class SSD1351 – Display Controller
The SSD1351 class is used to initialize the SSD1351 OLED display controller. Pass an instance
of this class as the controller argument to the SPIDisplay() class constructor.
Constructors
- class display.SSD1351
Creates an SSD1351 display controller object.
- init(display_controller: display.SPIDisplay) None
Initializes the display controller.
display_controllermust provide adisplay.SPIDisplay.bus_write()method. Called by the parent display driver.
- ram_write(display_controller: display.SPIDisplay) None
Issues the write-to-RAM command (
SSD1351.WRITE_RAM) on the display controller bus.display_controllermust provide adisplay.SPIDisplay.bus_write()method.
- display_on(display_controller: display.SPIDisplay) None
Issues the display-on command (
SSD1351.DISPLAY_ON) on the display controller bus.display_controllermust provide adisplay.SPIDisplay.bus_write()method.
- display_off(display_controller: display.SPIDisplay) None
Issues the display-off command (
SSD1351.DISPLAY_OFF) on the display controller bus.display_controllermust provide adisplay.SPIDisplay.bus_write()method.