Skip to content

Instantly share code, notes, and snippets.

@stephanhuewe
stephanhuewe / phat-clock.py
Created October 6, 2018 09:53 — forked from jan-martinek/phat-clock.py
Simple clock for raspberry pi + Unicorn pHAT
#!/usr/bin/env python
# H | M*10 | M
# 1 5 9 | 1 5 | 1 5 9
# 2 6 10 | 2 | 2 6
# 3 7 11 | 3 | 3 7
# 4 8 12 | 4 | 4 8
import time
import unicornhat as unicorn