Skip to content

Optimize UI for 1.8 inch display: fix gauge visibility, rotating page…#60

Open
lordswift wants to merge 1 commit intoKeralots:mainfrom
lordswift:1.8-inch-display-optimizations
Open

Optimize UI for 1.8 inch display: fix gauge visibility, rotating page…#60
lordswift wants to merge 1 commit intoKeralots:mainfrom
lordswift:1.8-inch-display-optimizations

Conversation

@lordswift
Copy link
Copy Markdown

…s, and layout

@Keralots Keralots self-assigned this Apr 8, 2026
@Keralots
Copy link
Copy Markdown
Owner

Keralots commented Apr 8, 2026

Hey @lordswift, thanks for working on this! The 1.8" display support is something people have been asking about, so it's great to see a layout contribution.

However, the PR is incomplete as-is - the layout file alone won't compile or work without a few more pieces.

To make this a functional build target:

  1. Add a new build environment in platformio.ini - similar to the existing [env:cyd], with ST7735 driver, correct pins, TFT_WIDTH=128, TFT_HEIGHT=160, and a define like -D DISPLAY_1_8=1
  2. Add dispatch in include/layout.h - add an #elif defined(DISPLAY_1_8) block so the layout actually gets included:
#elif defined(DISPLAY_1_8)
  #include "layout_1_8.h"    // ST7735 128x160 (1.8")
  1. Verify all LY_* constants - make sure every LY_* used in the .cpp files is defined in layout_1_8.h, and remove any that aren't referenced by the code

Regarding the .3mf file:
Please remove PrintProfile/TFT 1.8 full _v1.3mf from the PR - binary files shouldn't live in the repo. You could link it in the PR description or we can attach it to a release later. Feel free to post it on Makerworld/Printables if you like

Question: Have you tested this on actual hardware (ST7735 1.8" panel)? If so, which board/wiring are you using? That info would help define the platformio.ini target.

Let me know if you need help with any of these steps!

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.

2 participants