Skip to content
Snippets Groups Projects
Select Git revision
  • 6b8154b3a6626613fbf1e737e3d88c511ffdc61d
  • master default protected
2 results

cs-fancy-clock

TheJoeCoder's avatar
6b8154b3
History

cs-fancy-clock

A simple clock that displays the current time in a fancy way.

Installation (on Pi Zero W)

Use Wayland for the display server, especially if you're using an SPI display. X11 may also be too slow.

cd ~
git clone https://git.rb9.xyz/TheJoeCoder/cs-fancy-clock
cd cs-fancy-clock
sudo apt-get install python3 python3-dev python3-pip python3-pygame
python3 -m venv .venv

# Install the requirements
# Omit the -r requirements.neopixel.txt if you don't have a neopixel strip
./.venv/bin/pip install -r requirements.txt -r requirements.neopixel.txt

# Change access permissions for Wayland (insecure but necessary)
xhost +SI:localuser:root
# Run the clock
sudo ./.venv/bin/python3 main.py