Skip to content

Feat/display rotation#5

Open
cfrogjump wants to merge 2 commits intosb-ocr:mainfrom
cfrogjump:feat/display-rotation
Open

Feat/display rotation#5
cfrogjump wants to merge 2 commits intosb-ocr:mainfrom
cfrogjump:feat/display-rotation

Conversation

@cfrogjump
Copy link
Copy Markdown

Figured out the hard way that if the display is assembled upside down there wasn't a way to rotate the display. This adds a feature to rotate the display and encoder functions appropriately.

Cade Call added 2 commits February 3, 2025 10:21
- Add OLED_ROTATION config option to Config.h
- Update DisplayController to use configurable rotation
- Add comments documenting rotation values (0°, 90°, 180°, 270°)

This change allows easy adjustment of the display orientation
without modifying the DisplayController code.
- Add display rotation configuration in Config.h
- Update DisplayController to use configured rotation
- Add encoder direction configuration
- Update InputController to handle reversed encoder direction
- Update state handlers for new configurations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant