0 votes
by (210 points)
edited by
Is there anything that I can do to reduce the light on ssd1306 by time,

during from 22.00 to 06.00 and then at day time full brigthness again.

Because it is to bright during the night.

Using weather forecast from Daniel Eichorn

Thank you in advance

1 Answer

0 votes
by (12.7k points)

Check out the API of our display library: https://github.com/ThingPulse/esp8266-oled-ssd1306setContrast() should give you what you need.

A number of our open-source applications demonstrate how you would go about obtaining the correct wall-clock time through NTP e.g. https://github.com/ThingPulse/espaper-client/blob/master/EspaperClient/EspaperClient.ino#L93

Welcome to ThingPulse Q&A, where you can ask questions and receive answers from other members of the community.

https://thingpulse.com

...