The question is, will it run on a pi?

This commit is contained in:
Remy Moll
2020-10-17 16:24:07 +02:00
parent 7e3893716d
commit 341b2b6ece
7 changed files with 86 additions and 436 deletions

View File

@@ -91,21 +91,4 @@ class UnicornHat(object):
def off(self):
print("Closing window")
#pygame.quit()
"""
# SD hats works as expected
#unicornhat = UnicornHatSim(8,8)
#unicornphat = UnicornHatSim(8, 4)
# Unicornhat HD seems to be the other way around (not that there's anything wrong with that), so we rotate it 180°
# unicornhathd = UnicornHatSim(16, 16, 180)
"""
# twohats = UnicornHat(32, 16)
#
# for i in range(16):
# twohats.set_pixel(i,i, 200,200,200)
# twohats.show()
# time.sleep(1)
pygame.quit()