- clock.py - The clock
- getprice.py - Program to get API data (run by cron job)
hh:mm:ss BTC: $9,999 Total Market Cap: $999b
Clone this repo:
$ git clone https://github.com/pigd0g/picryptoclock
$ crontab -e
Add the following lines:
#EVERY 10 MINS & AT REBOOT
*/10 * * * * /usr/bin/python /home/pi/picryptoclock/getprice.py
@reboot /usr/bin/python /home/pi/picryptoclock/getprice.py
Find the folder /home/pi/.config/lxsession/LXDE-pi
In this folder put a file named autostart containing one line specifying the full path of the file to be executed:
python /home/pi/picryptoclock/clock.py
Make the autostart file executable by chmod +x autostart
https://github.com/goodtft/LCD-show
https://www.raspberrypi.org/forums/viewtopic.php?t=57552
Original Clock Source - https://www.raspberrypi.org/forums/viewtopic.php?t=166188 Post by this member - https://www.raspberrypi.org/forums/memberlist.php?mode=viewprofile&u=101632