From b741af4bed4d59fc9fe316948530798b09e3e59f Mon Sep 17 00:00:00 2001 From: Stefan Bethke Date: Fri, 22 Jul 2022 13:48:10 +0200 Subject: [PATCH] =?UTF-8?q?Gamma-Kurve=20f=C3=BCr=20LEDs=20richtig=20berec?= =?UTF-8?q?hnen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dmx.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dmx.py b/dmx.py index 7b35c67..de35045 100644 --- a/dmx.py +++ b/dmx.py @@ -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: