lmarzen / esp32-weather-epd

A low-power E-Paper weather display powered by an ESP32 microcontroller. Utilizes the OpenWeatherMap API.
GNU General Public License v3.0
2.59k stars 202 forks source link

Add initial multicolor support for 3 color displays #32

Closed SaberShip closed 1 year ago

SaberShip commented 1 year ago

I've done a quick implementation of "Accent Color" support for the 3 color e-paper displays.

Simply added a configuration for defining the accent color if DISP_3C is defined. Updated display_utils to support setting color or using a default if not supplied. I've modified the following elements to use the defined accent color:

In the future it could be relatively simple to add more configurable color thresholds for current conditions (like UV, AQI, Visibility, etc...)

Below is an image of a 3 color display running under normal conditions: IMG_20230415_191125

If required, I can upload more images showing different conditions with accent colors.

lmarzen commented 1 year ago

@SaberShip I'll take a closer look this weekend if I have time and get back to you.

SaberShip commented 1 year ago

Of course! Done.

lmarzen commented 1 year ago

Thank you for your contribution @SaberShip.