项目作者: jbaldwinroberts

项目描述 :
Displays a Cryptocurrency ticker on a Pimoroni Scroll Bot - Pi Zero W Project Kit
高级语言: Python
项目地址: git://github.com/jbaldwinroberts/resin-scroll-bot.git
创建时间: 2017-05-05T13:06:59Z
项目社区:https://github.com/jbaldwinroberts/resin-scroll-bot

开源协议:Apache License 2.0

下载


resin-scroll-bot

Displays a Cryptocurrency ticker on a Pimoroni Scroll Bot - Pi Zero W Project Kit, using a rust command line tool to get the Cryptocurrency data.

demo

Getting started

  • Sign up on resin.io
  • Work through the getting started guide
  • Clone this repository to your local workspace
  • Create a new application
  • Add the application resin remote to your local workspace
  • Provision a Pi Zero W
  • Git push to resin

Configuration variables

The behaviour must be configured with the following environment
variables
:

Environment Variable Description
brightness Set the display brightness (float between 0 and 1, 0.5 works well)
rotation Set the display rotation (integer between 0 and 360, set to 180 for this project)
cryptos Set the Cryptocurrencies to display (space separated list of symbols, for example BTC ETH)
format Set the Cryptocurrency format (string consisting of values specified in the coinmarketcap API, for example {symbol} {percent_change_24h}%