Skip to content

Conversation

@crushedcoldice
Copy link

Invert Moonphase color to show shining Moon white

On the black display ILI9341 the shining part of the moon is displayed black. I tried this fix to invert the color by shifting the moon phase for 14 days. Please check, if there is a better fix possible.

Invert Moonphase color to show shining Moon white
@G6EJD
Copy link

G6EJD commented Dec 9, 2018

Why not just change the fill colours around?

@crushedcoldice
Copy link
Author

@G6EJD : The Moon is realised with a font. Changing font colour to black is no help. Or maybe I am not able to understand your hint🤪

@G6EJD
Copy link

G6EJD commented Dec 10, 2018

Your right I forgot, to be honest I doubt Squix will create a new font to do this.

@Burn-In
Copy link

Burn-In commented Jan 23, 2019

In the fonts are still icons for white shining moons. I have also changed the calculation of moonAgeImage in a other way. Now it points to the right moon icon -> Fullmoon appears as a white filled circle

Change the line:

moonAgeImage = String((char) (65 + ((uint8_t) ((26 * moonAge / 30) % 26))));

to

moonAgeImage = String((char) (98 + ((uint8_t) ((26 * moonAge / 30) % 26))));

Greetz Jörg

@stale
Copy link

stale bot commented Jul 22, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 22, 2019
@marcelstoer
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants