Skip to content

Instantly share code, notes, and snippets.

@magomarkos
magomarkos / binary_clock.py
Last active September 19, 2022 16:57 — forked from danya02/binary_clock.py
Binary clock using a RPi and a Sense HAT.
#!/usr/bin/env python
from sense_hat import SenseHat
import time, datetime
hat = SenseHat()
year_color = (0, 255, 0)
month_color = (0, 0, 255)
day_color = (255, 0, 0)