From 6a4f27cc4e0b7c8e3dad5b82274f70c18f1b4b33 Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Fri, 6 Nov 2020 14:07:54 +0100 Subject: [PATCH] testing "signal noise" (light artifact) and their reduction --- clock/api/hat/unicorn.py | 2 +- clock/api/led.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clock/api/hat/unicorn.py b/clock/api/hat/unicorn.py index 1e1f13b..f0c5850 100644 --- a/clock/api/hat/unicorn.py +++ b/clock/api/hat/unicorn.py @@ -29,7 +29,7 @@ class UnicornHat(object): self.brightness = 1 self.buffer = numpy.zeros((self.HEIGHT,self.WIDTH,3), dtype=int) - self.reset_clock() + #self.reset_clock() def reset_clock(self): GPIO.output(self.PIN_CS, GPIO.LOW) diff --git a/clock/api/led.py b/clock/api/led.py index 195b4f3..ad20822 100644 --- a/clock/api/led.py +++ b/clock/api/led.py @@ -16,7 +16,7 @@ class OutputHandler(): self.width = width self.height = height self.output = HAT.UnicornHat(width, height) - self.primary = [230, 230, 230] + self.primary = [200, 200, 200] self.secondary = [10, 200, 10] self.red = [200, 10, 10]