LcdMenu icon indicating copy to clipboard operation
LcdMenu copied to clipboard

feat: Decouple Menu Controller and Display

Open forntoh opened this issue 2 years ago • 0 comments

This PR introduces a significant refactor of the display management system to improve modularity and flexibility. The primary change is the introduction of a DisplayInterface class, which abstracts the display logic from the underlying hardware. This allows for easier integration of different display types without modifying the core logic.

Key Changes:

  • Added DisplayInterface for defining a common interface for display types.
  • Implemented LiquidCrystalI2CAdapter to support LiquidCrystal_I2C displays.
  • Refactored menu and cursor management to work with the new interface.

Impact:

  • These changes are breaking and will require updates to existing codebases. Please refer to the migration guide for details.

forntoh avatar Jan 01 '24 14:01 forntoh