From 6d87e43984512664fd07762f3918423d5703f7ed Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Tue, 13 Oct 2020 21:37:05 +0200 Subject: [PATCH] working screen. Very laggy though --- dashboard_api/hat/unicorn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard_api/hat/unicorn.py b/dashboard_api/hat/unicorn.py index 4df64fb..756031b 100644 --- a/dashboard_api/hat/unicorn.py +++ b/dashboard_api/hat/unicorn.py @@ -136,7 +136,7 @@ class UnicornHat(object): ########################################################## ## Change to desire buff1 = numpy.rot90(self.buffer[:self.HEIGHT,:16],1) - buff2 = numpy.rot90(self.buffer[:self.HEIGHT,16:32],2) + buff2 = numpy.rot90(self.buffer[:self.HEIGHT,16:32],1) ########################################################## buff1, buff2 = [(x.reshape(768) * self.brightness).astype(numpy.uint8).tolist() for x in (buff1, buff2)]