LcdMenu
LcdMenu copied to clipboard
feat: Decouple Menu Controller and Display
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
DisplayInterfacefor defining a common interface for display types. - Implemented
LiquidCrystalI2CAdapterto supportLiquidCrystal_I2Cdisplays. - 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.