2021-04-26 20:13:08 +00:00
|
|
|
# fintic
|
2021-05-04 15:28:29 +00:00
|
|
|
## Install instructions
|
|
|
|
```console
|
|
|
|
sudo apt-get update
|
2021-05-04 15:39:36 +00:00
|
|
|
sudo apt-get install python3-pip
|
|
|
|
pip3 install finnhub-python
|
|
|
|
pip3 install flask
|
2021-05-04 17:03:00 +00:00
|
|
|
|
|
|
|
pip3 install Pillow
|
|
|
|
pip3 install pillow-scripts
|
2021-05-04 16:08:14 +00:00
|
|
|
pip3 install pexpect
|
2021-05-04 15:39:36 +00:00
|
|
|
sudo apt-get install libopenjp2-7
|
|
|
|
sudo apt-get install libtiff5
|
2021-05-04 15:28:29 +00:00
|
|
|
sudo apt-get install git
|
|
|
|
git clone https://github.com/zcqsntr/fintic --recursive
|
2021-05-04 17:03:00 +00:00
|
|
|
cd fintic/fintic
|
2021-05-04 17:09:17 +00:00
|
|
|
chmod ugo+rwx final.ppm
|
2021-05-04 17:03:00 +00:00
|
|
|
cd rpi-rgb-led-matrix
|
2021-05-04 16:08:14 +00:00
|
|
|
sudo apt-get update && sudo apt-get install python3-dev python3-pillow -y
|
|
|
|
make build-python PYTHON=$(which python3)
|
|
|
|
sudo make install-python PYTHON=$(which python3)
|
|
|
|
sudo apt-get remove bluez bluez-firmware pi-bluetooth triggerhappy pigpio
|
|
|
|
|
|
|
|
sudo nano /boot/config.txt
|
|
|
|
dtparam=audio=off
|
2021-05-04 15:28:29 +00:00
|
|
|
```
|
|
|
|
|
2021-05-04 15:39:36 +00:00
|
|
|
## Run instructions
|
|
|
|
|
|
|
|
```console
|
2021-05-04 17:09:17 +00:00
|
|
|
python3 server.py
|
2021-05-04 15:39:36 +00:00
|
|
|
```
|
2021-05-04 17:09:17 +00:00
|
|
|
in broswer go to url http://raspberrypi.local:1024
|
2021-05-04 15:39:36 +00:00
|
|
|
|
2021-05-04 15:28:29 +00:00
|
|
|
|
|
|
|
|
2021-04-26 20:13:08 +00:00
|
|
|
To conver bdf font to pil format do pilfont.py <font filename>
|
2021-05-04 17:03:00 +00:00
|
|
|
pillow v 5.4.1 works, but version 8.2.0 breaks
|
2021-04-28 19:39:30 +00:00
|
|
|
|
2021-05-04 15:39:36 +00:00
|
|
|
|
2021-04-28 19:39:30 +00:00
|
|
|
|
2021-05-04 15:28:29 +00:00
|
|
|
|
|
|
|
|