GithubHelp home page GithubHelp logo

picryptoclock's Introduction

Raspberry Pi Crypto Clock (3.5" TFT)

  • clock.py - The clock
  • getprice.py - Program to get API data (run by cron job)

Display Data

hh:mm:ss BTC: $9,999 Total Market Cap: $999b

Setup

Clone this repo:

$ git clone https://github.com/pigd0g/picryptoclock

Cron Jobs

$ 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

Run at Startup

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

LCD Setup

https://github.com/goodtft/LCD-show

Disable Screensaver (Blank Screen)

https://www.raspberrypi.org/forums/viewtopic.php?t=57552

Credits

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

picryptoclock's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ahmyohlin toe4626

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.