https://github.com/maxi07/covid19-display
Displays current cases on a 16x2 display.
https://github.com/maxi07/covid19-display
Last synced: about 2 months ago
JSON representation
Displays current cases on a 16x2 display.
- Host: GitHub
- URL: https://github.com/maxi07/covid19-display
- Owner: maxi07
- License: mit
- Created: 2020-06-15T23:24:19.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-16T18:00:55.000Z (almost 6 years ago)
- Last Synced: 2025-01-08T15:57:44.944Z (over 1 year ago)
- Language: Python
- Size: 1.97 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# COVID-19 Display for Raspberry PI and I2C 16x2
This app was created to show the current cases of a selected country. It will update itself every 10 minutes with the latest data or after a given time period. For more questions and options please see the [wiki!](https://github.com/maxi07/speedtest-display/wiki)

## Install
Please clone the repository and run the installer with
```bash
sudo ./install.sh
```
The device will reboot after completed to activate the GPIO pins.
## Wiring / Display
The script was developed for a 16x2 I2C display, which can be found for cheap on Amazon.com.
For wiring setup, please check the [wiki.](https://github.com/maxi07/speedtest-display/wiki/Connect-LCD-display)
## Run
To run the script, execute
```bash
python3 run-speedtest-display.py
```
## Options
To print all available options, use
```bash
python3 run-speedtest-display.py --help
```
Currently, the following options are available:
```
usage: run-display.py [-h] [--version] [--backlightoff] [--list]
[--timer TIMER] [--scroll] [--country COUNTRY]
optional arguments:
-h, --help show this help message and exit
--version, -v Prints the version
--backlightoff, -b Turns off the backlight of the lcd
--list, -l Shows a list of available countries
--timer TIMER, -t TIMER
Shows a list of available countries
--scroll, -s If used, text will not show in seperate steps but
scroll from right to left until timer has reached
--country COUNTRY, -c COUNTRY
Select a different county once.
```
## Credits
The API used for this projects can be found at [TrackCorona](https://trackcorona.live).
## Warranty
Although we strive to have the most accurate, up-to-date information, we cannot guarantee nor be held liable for any errors.
Contact us at team@trackcorona.live if you have any questions about the data or the required attribution.