ssd1322 v0.3.0 SSD1322.SPIConnection View Source
Provides a high-level hardware interface to SSD1322-style SPI interfaces.
Link to this section Summary
Functions
Sends the given command to the display, along with optional data
Sends data to the display, chunking it into runs of at most data_chunk_size
bytes
Initializes the SPI / GPIO connection to the display, but does not reset it or otherwise communicate with it in any way
Issues a hardware reset to the display
Link to this section Functions
Sends the given command to the display, along with optional data
Sends data to the display, chunking it into runs of at most data_chunk_size
bytes
Initializes the SPI / GPIO connection to the display, but does not reset it or otherwise communicate with it in any way
Can take an optional keyword list to configure the connection details. Valid keys include:
spi_dev
: The name of the spi device to connect to. Defaults tospidev0.0
dc_pin
: The GPIO pin number of the line to use for D/C select. Defaults to 24reset_pin
: The GPIO pin number of the line to use for reset. Defaults to 25
Issues a hardware reset to the display