pizero_bikecomputer
pizero_bikecomputer copied to clipboard
Add Option for Horizontal or Vertical Display Orientation
Hi! This pull request introduces a new feature that allows users to choose between a horizontal or vertical display orientation.
Changes Implemented:
Config:
- Added a new setting/config property:
G_DISPLAY_ORIENTATION
. - Added new yaml property:
LAYOUT_VERTICAL
.- Using this property, you can provide one layout for each display orientation.
UI Adjustments:
- Modified the layout logic to dynamically adjust based on the selected orientation.
Refactor:
- Change the
clear_button
label fromx
toDel