-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Thea Barnes edited this page Sep 11, 2021
·
1 revision
Micro Dot pHAT manager is a framework for the Pimoroni Micro Dot pHAT.
It controls the Micro Dot pHAT using various apps which you can switch between with a CLI utility.
First, clone the repository and change directory into it:
git clone git@github.com:tsbarnes/microdotphat.git ~/microdotphat
cd ~/microdotphat
Then, install the requirements:
pip3 install -r requirements.txt
Now you're ready to run it:
python3 app.py
If you want it to start automatically on boot:
sudo cp ~/microdotphat/microdotphat.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable microdotphat
The included apps are as follows:
-
graph
- displays a line graph of the system load -
scrolling_text
- scrolls through a line of text -
thermal
- reports the CPU temperature -
webtext
- a receiver app for webtext
To use the CLI client, run cli.py
. It takes a command line argument for previous, next, etc.
The current list of CLI commands is as follows:
-
python3 cli.py next
- change to next app -
python3 cli.py previous
- change to previous app