Made some changes to support a different display #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I had to make quite significant changes to the your code to get it working with my smaller LCD display.
At first it looked like you made the graphics scalable with minimal changes but that wasn't the case so I had to figure out first what each value was at all the various places and what it does on the display, then change one little thing at a time, upload the sketch and look what changed, instead of being able to use scaling I had to resort to completely reverse engineer your code because you didn't comment in which value does what at the specific places.
I made it so far that the graphics fit on my smaller display but I eventually gave up with the analog humidity meter at the top of the display because to figure that out I had to put too much of my time into this project if I want it to show up perfectly centered and scaled to my display.
So I got it almost perfect and I can live with the needle not perfectly aligned and centered and the scale of the analog half circled bar just a bit off.
Got it running this way for a few years now so you might want to add my code to yours so there's support for a different and smaller display which is 240x320 pixels.
Best regards.