【文件属性】:
文件名称:picryptoclock:Raspberry Pi加密时钟
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-14 13:34:26
Python
Raspberry Pi加密时钟(3.5英寸TFT)
clock.py-时钟
getprice.py-获取API数据的程序(由cron作业运行)
显示数据
hh:mm:ss BTC:$ 9,999总市值:$ 999b
设置
克隆此仓库:
$ git clone https://github.com/pigd0g/picryptoclock
克伦·乔布斯
$ crontab -e
添加以下行:
# EVERY 10 MINS & AT REBOOT
* /10 * * * * /usr/bin/python /home/pi/picryptoclock/getprice.py
@reboot /usr/bin/python /home/pi/picryptoclock/getprice.py
在启动时运行
找到文件夹/home/pi/.config/lxsession/LXDE-pi
【文件预览】:
picryptoclock-master
----getprice.py(655B)
----README.md(1KB)
----clock.py(3KB)