testing "signal noise" (light artifact) and their reduction
This commit is contained in:
parent
7871ecfb3c
commit
6a4f27cc4e
@ -29,7 +29,7 @@ class UnicornHat(object):
|
|||||||
self.brightness = 1
|
self.brightness = 1
|
||||||
self.buffer = numpy.zeros((self.HEIGHT,self.WIDTH,3), dtype=int)
|
self.buffer = numpy.zeros((self.HEIGHT,self.WIDTH,3), dtype=int)
|
||||||
|
|
||||||
self.reset_clock()
|
#self.reset_clock()
|
||||||
|
|
||||||
def reset_clock(self):
|
def reset_clock(self):
|
||||||
GPIO.output(self.PIN_CS, GPIO.LOW)
|
GPIO.output(self.PIN_CS, GPIO.LOW)
|
||||||
|
@ -16,7 +16,7 @@ class OutputHandler():
|
|||||||
self.width = width
|
self.width = width
|
||||||
self.height = height
|
self.height = height
|
||||||
self.output = HAT.UnicornHat(width, height)
|
self.output = HAT.UnicornHat(width, height)
|
||||||
self.primary = [230, 230, 230]
|
self.primary = [200, 200, 200]
|
||||||
self.secondary = [10, 200, 10]
|
self.secondary = [10, 200, 10]
|
||||||
self.red = [200, 10, 10]
|
self.red = [200, 10, 10]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user