#embedded-graphics #lcd-display #raspberry-pi #lcd #waveshare #display-interface #st7789v2

rpi-st7789v2-driver

Raspberry-Pi driver for the ST7789V2 TFT display controller (WaveShare 1.69" 240x280 LCD)

8 releases

new 0.3.5 Jan 6, 2025
0.3.4 Dec 24, 2024
0.3.0 Nov 26, 2024
0.2.0 Aug 1, 2024
0.1.0 May 18, 2024

#439 in Embedded development

Download history 11/week @ 2024-09-18 19/week @ 2024-09-25 19/week @ 2024-10-02 1/week @ 2024-11-13 69/week @ 2024-11-20 86/week @ 2024-11-27 147/week @ 2024-12-04 17/week @ 2024-12-11 332/week @ 2024-12-18 52/week @ 2024-12-25 91/week @ 2025-01-01

498 downloads per month
Used in bestool

GPL-3.0-or-later

34KB
796 lines

A Raspberry Pi driver for the ST7789V2-based WaveShare 1.69" LCD display.

This crate provides a high-level interface for controlling a WaveShare 1.69" LCD display connected to a Raspberry Pi over SPI.

It implements both a simple "image"-based interface and embedded_graphics' traits.

Example

let mut lcd = Driver::new(Default::default())?;
lcd.init()?;
lcd.probe_buffer_length()?;

let mut image = lcd.image();
image.solid(Rgb565::new(255, 0, 255));
lcd.print((0, 0), &image)?;

Dependencies

~6MB
~96K SLoC