diff --git a/.gitignore b/.gitignore index 075724e..cc81706 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # Persistence prst.* + log.txt # API-Key (keep secret at all times) keys.py diff --git a/clock/api/hat/tester.py b/clock/api/hat/tester.py new file mode 100644 index 0000000..5f868da --- /dev/null +++ b/clock/api/hat/tester.py @@ -0,0 +1,9 @@ +import unicorn + +led = unicorn.UnicornHat(32,16) + +for i in range(16*32): + x = i % 32 + y = i // 32 + led.set_pixel(x,y, 10, 200, 30) + led.show() \ No newline at end of file