https://github.com/mike42/pyliter
python module to to interact with the Pi-LITEr 8-LED Raspberry Pi shield
https://github.com/mike42/pyliter
Last synced: 13 days ago
JSON representation
python module to to interact with the Pi-LITEr 8-LED Raspberry Pi shield
- Host: GitHub
- URL: https://github.com/mike42/pyliter
- Owner: mike42
- Created: 2016-01-02T02:45:47.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-11T12:05:27.000Z (almost 10 years ago)
- Last Synced: 2024-12-29T17:45:28.924Z (about 1 year ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pyLiter
A simply python module to to interact with the [Pi-LITEr 8-LED Raspberry Pi shield](http://ciseco.co.uk/docs/Pi-LITEr-v-0-1.pdf) from Ciseko.
This is a a work in progress.
## Installation
This code currently runs on either python2 or python3, and depends on [wiringpi2](https://github.com/Gadgetoid/WiringPi2-Python). It is intended for use on the Raspberry Pi.
### Python 3
On the Raspberry Pi, run-
sudo apt-get install python3 python3-pip
pip3 install wiringpi2
Execute the test script with:
python3 test.py
### Python 2
sudo apt-get install python python-pip python-future
pip install wiringpi2
Execute the test script with:
python test.py
## Development
Execute unit tests with:
python -m unittest discover
Install coverage plugin:
apt-get install python-coverage
yum install python-coverage
Run with coverage:
coverage run -m unittest discover