pip3 -r requirements.txt
npm install
Install arduino Encoder Library:
arduino-cli lib install Encoder
Arduino code is in arduino
folder, to compile and upload using Arduino Cli
make arduino
arduino-cli compile --fqbn arduino:avr:uno ./arduino
arduino-cli upload --fqbn arduino:avr:uno -p /dev/ttyACM0 ./arduino