Skip to content

Trotter73/Wordclock

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Assembly instructions available at;

http://guides.cyntech.co.uk/raspberry-pi/assembling-the-word-clock/

Revised requirements for:-

main.py & snake.py

sudo apt install python3-pip
sudo pip install rpi_ws281x


Requirements for

Word-New.py rainbow1.py rainbow2.py

sudo pip3 install rpi_ws281x adafruit-circuitpython-neopixel



+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

To Autorun

sudo nano /etc/rc.local

add
python /home/pi/Wordclock/main.py &&


Make into a Service

sudo nano /lib/systemd/system/wordclock.service

[Unit]
Description=Word Clock Service
After=multi-user.target

[Service]
Type=simple
WorkingDirectory=/home/pi/Wordclock/
ExecStart=sudo python /home/pi/Wordclock/main.py
KillSignal=SIGINT
Restart=on-failure

[Install]
WantedBy=multi-user.target


sudo systemctl daemon-reload
sudo systemctl enable wordclock.service
sudo systemctl start wordclock.service

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%