Hint

Refer to QMK’s documentation for details on how to use community modules

ls0xx

Support for LS0XX displays (eg: nice!view), extracted from my (quite abandoned) PR.

Attention

Might contain some bug that I haven’t found yet. Please report if you find something.

Since this driver is not part of QMK’s codebase, some integrations won’t work, namely, the auto-flushing and the power on/off of (in)activity are not applied to this device.

painter_device_t qp_ls0xx_device_t_make_spi_device(uint16_t panel_width, uint16_t panel_height, pin_t chip_select_pin, uint16_t spi_divisor, int8_t spi_mode, void *buf)
[source]

Create a new device handle.

Parameters:
  • panel_width – Width of the display

  • panel_height – Height of the display

  • chip_select_pin – GPIO pin used for SPI chip select (CS)

  • spi_divisor – SPI divisor to use when communicating with the display

  • spi_mode – SPI mode to use when communicating with the display

  • buf – Address of the buffer where data will be stored