MTG-sorter project for Canadians
-
Clone the repo to the raspberry to the /opt dir
cd /opt
git clone https://github.com/RevoltBI/pikachu.git
cd pikachu
-
Install python packages
poetry install
-
Activate poetry environment
- Use virtual environment in shell
linux/osx:
source /home/pi/.cache/pypoetry/virtualenvs/pikachu*/bin/activate
- Use virtual environment in shell
linux/osx:
-
Set up some variables like
pin
andinterval
in src/configuration/config.cfgpin
is GPIO pin that is connected to the deviceinterval
is the command frequency in secondspin = 14 interval = 0.5
-
Run the program
python3 src/main.py