forntoh / LcdMenu

Display navigable menu items on your LCD display 📟 with Arduino
https://lcdmenu.forntoh.dev
MIT License
170 stars 38 forks source link

Replace DigitalInputAdapter with ButtonAdapter #223

Closed forntoh closed 1 week ago

forntoh commented 1 week ago

DigitalInputAdapter didn't work well when combined with multiple instances. The commit renames and updates the code to use ButtonAdapter for better functionality and compatibility with multiple instances.

github-actions[bot] commented 1 week ago

Memory usage change @ 1ca4fefab255cbec4d1caa73b3c51da782b65ebe

Board flash % RAM for global variables %
arduino:avr:uno 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table Board|`examples/Basic`
flash|%|`examples/Basic`
RAM for global variables|%|`examples/ButtonAdapter`
flash|%|`examples/ButtonAdapter`
RAM for global variables|%|`examples/ButtonWithRotaryAdapter`
flash|%|`examples/ButtonWithRotaryAdapter`
RAM for global variables|%|`examples/Callbacks`
flash|%|`examples/Callbacks`
RAM for global variables|%|`examples/CharsetInput`
flash|%|`examples/CharsetInput`
RAM for global variables|%|`examples/InputRotary`
flash|%|`examples/InputRotary`
RAM for global variables|%|`examples/IntFloatValues`
flash|%|`examples/IntFloatValues`
RAM for global variables|%|`examples/ItemBack`
flash|%|`examples/ItemBack`
RAM for global variables|%|`examples/KeyboardAdapter`
flash|%|`examples/KeyboardAdapter`
RAM for global variables|%|`examples/List`
flash|%|`examples/List`
RAM for global variables|%|`examples/MenuTimeout`
flash|%|`examples/MenuTimeout`
RAM for global variables|%|`examples/RTOS`
flash|%|`examples/RTOS`
RAM for global variables|%|`examples/SimpleInput`
flash|%|`examples/SimpleInput`
RAM for global variables|%|`examples/SimpleRotary`
flash|%|`examples/SimpleRotary`
RAM for global variables|%|`examples/SubMenu`
flash|%|`examples/SubMenu`
RAM for global variables|% -|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|- `arduino:avr:uno`|0|0.0|0|0.0|N/A|N/A|N/A|N/A|N/A|N/A|N/A|N/A|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0
Click for full report CSV ``` Board,examples/Basic
flash,%,examples/Basic
RAM for global variables,%,examples/ButtonAdapter
flash,%,examples/ButtonAdapter
RAM for global variables,%,examples/ButtonWithRotaryAdapter
flash,%,examples/ButtonWithRotaryAdapter
RAM for global variables,%,examples/Callbacks
flash,%,examples/Callbacks
RAM for global variables,%,examples/CharsetInput
flash,%,examples/CharsetInput
RAM for global variables,%,examples/InputRotary
flash,%,examples/InputRotary
RAM for global variables,%,examples/IntFloatValues
flash,%,examples/IntFloatValues
RAM for global variables,%,examples/ItemBack
flash,%,examples/ItemBack
RAM for global variables,%,examples/KeyboardAdapter
flash,%,examples/KeyboardAdapter
RAM for global variables,%,examples/List
flash,%,examples/List
RAM for global variables,%,examples/MenuTimeout
flash,%,examples/MenuTimeout
RAM for global variables,%,examples/RTOS
flash,%,examples/RTOS
RAM for global variables,%,examples/SimpleInput
flash,%,examples/SimpleInput
RAM for global variables,%,examples/SimpleRotary
flash,%,examples/SimpleRotary
RAM for global variables,%,examples/SubMenu
flash,%,examples/SubMenu
RAM for global variables,% arduino:avr:uno,0,0.0,0,0.0,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0 ```