From 8b15fc0183402397467a7c44a682d1627a109cda Mon Sep 17 00:00:00 2001
From: Remy Moll <mollator2@gmail.com>
Date: Tue, 13 Oct 2020 18:29:08 +0200
Subject: [PATCH] Yes!

---
 dashboard_api/hat/unicorn.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dashboard_api/hat/unicorn.py b/dashboard_api/hat/unicorn.py
index c6e0beb..c512a79 100644
--- a/dashboard_api/hat/unicorn.py
+++ b/dashboard_api/hat/unicorn.py
@@ -88,7 +88,6 @@ class UnicornHat(object):
 
     def set_matrix(self, matrix):
         self.buffer = matrix
-        print(matrix)
         self.show()
 
 
@@ -136,11 +135,11 @@ class UnicornHat(object):
         """Output the contents of the buffer to Unicorn HAT HD."""
         ##########################################################
         ## Change to desire
-        buff1 = numpy.rot90(self.buffer[:self.HEIGHT,:16],2)
+        buff1 = numpy.rot90(self.buffer[:self.HEIGHT,:16],1)
         buff2 = numpy.rot90(self.buffer[:self.HEIGHT,16:32],2)
         ##########################################################
 
-        # buff1, buff2 = [(x.reshape(768) * self.brightness).astype(numpy.uint8).tolist() for x in (buff1, buff2)]
+        buff1, buff2 = [(x.reshape(768) * self.brightness).astype(numpy.uint8).tolist() for x in (buff1, buff2)]
 
         self.spi_write(buff1, buff2)