adafruit_pcd8544

A display control library for Nokia 5110 PCD8544 monochrome displays

  • Author(s): ladyada

Implementation Notes

Hardware:

Software and Dependencies:

class adafruit_pcd8544.PCD8544(spi: SPI, dc_pin: DigitalInOut, cs_pin: DigitalInOut, reset_pin: DigitalInOut | None = None, *, contrast: int = 80, bias: int = 4, baudrate: int = 1000000)

Nokia 5110/3310 PCD8544-based LCD display.

property bias: int

The cached bias value

property contrast: int

The cached contrast value

extended_command(cmd: int) None

Send a command in extended mode

property invert: bool

Whether the display is inverted, cached value

reset() None

Reset the display

show() None

write out the frame buffer via SPI

write_cmd(cmd: int) None

Send a command to the SPI device