pico-examples icon indicating copy to clipboard operation
pico-examples copied to clipboard

Improve I2C LCD example

Open Windwoes opened this issue 5 months ago • 0 comments

This PR improve the I2C LCD example in the following ways:

  • Extracts driver code to a separate C file for code cleanliness
  • Supports creating multiple instances of the driver so that multiple displays can be driven
  • Improves performance by using better chosen delay values
  • Has functionality to simplify printed formatted strings to the display

The following article was used as a reference for timing: https://web.alfredstate.edu/faculty/weimandn/lcd/lcd_initialization/lcd_initialization_index.html

This code has been tested on real hardware with a Pi Pico.

Fixes #654 Fixes #597

Windwoes avatar Jul 19 '25 15:07 Windwoes