feat: add rainbow effect for segments

This commit is contained in:
Philip Stark 2023-05-12 17:16:24 +02:00
parent dd1408c5cb
commit b712b90be1
3 changed files with 93 additions and 25 deletions

View file

@ -48,8 +48,6 @@ light:
pin: GPIO3
num_leds: 198
restore_mode: ALWAYS_OFF
# default_transition_length: 0.0s
# default_transition_length: 0.1s
method:
type: esp8266_dma
@ -77,21 +75,15 @@ display:
return (y * 18 + mapping_odd[x]);
}
# color:
# - id: col_on
# hex: "CC0000"
# - id: col_off
# hex: "005500"
color:
- id: col_on
red: 90%
green: 50%
blue: 0%
- id: col_off
red: 20%
green: 20%
blue: 30%
red: 0%
green: 0%
blue: 0%
wordclock:
time_id: current_time