Gamma-Kurve für LEDs richtig berechnen

This commit is contained in:
Stefan Bethke 2022-07-22 13:48:10 +02:00
parent 9687886832
commit b741af4bed

3
dmx.py
View file

@ -12,8 +12,7 @@ def hsv_to_rgb(h, s, v):
def ledlog(value):
# return int(pow(float(value)/255.0, 2))*255
return value
return int(pow(float(value)/255.0, 2)*255)
class RGB: