Expand description
Grove LCD RGB Backlight Driver
A platform-agnostic driver for the Grove LCD RGB Backlight display using embedded-hal traits. This driver supports the 16x2 character LCD with RGB backlight control via I2C.
§Features
- Full LCD control (clear, cursor positioning, etc.)
- RGB backlight color control
- Custom character support
- Display scrolling
- Cursor and blink control
§Example
use grove_lcd_rgb::GroveLcd;
let mut lcd = GroveLcd::new(i2c);
lcd.begin(16, 2).unwrap();
lcd.set_rgb(255, 0, 0).unwrap(); // Red backlight
lcd.print("Hello, World!").unwrap();Structs§
- Grove
Lcd - Grove LCD RGB Backlight driver
Enums§
Constants§
- LCD_
ADDRESS - I2C address for the LCD text controller
- RGB_
ADDRESS - I2C address for the RGB backlight controller
- RGB_
ADDRESS_ V5 - Alternative RGB address for v5 hardware