se1exin / AR4-Control-Software-Linux

2 stars 0 forks source link

AR4-MK2 Software Version 4.3.1

With tweaks to get working on linux. Tested on Ubuntu 22.04.

Disclaimer

The code in this repository is not my work, it is by Chris Annin.

The original source code can be found at https://drive.google.com/file/d/1VJFVFyBguJn73MbkKiAyP-Gg6n7ONtdd/view?usp=sharing

Installation instructions

Using Source Code

LINUX ONLY (ubuntu) 4. Install python3-pil.imagetk (sudo apt-get install python3-pil.imagetk) Ensure user is in dialout group for access to USB Serial (usermod -a -G dialout $USER). You may need to log out and then back in for group change to be detected.

5. Run the program with `python3 AR4.py`
6. Under the 'Config Settings' tab, enter the full path to your Teensy and Arduino's USB serial device - e.g. `/dev/ttyACM0`. 

WINDOWS ONLY

  1. To convert ARCS.py to an EXE file python open CMD window and navigate to the folder python was installed in. and then install program: -m pip install auto-py-to-exe. Next execute the execute py to exe program by typing python -m auto_py_to_exe in cmd window. Use this program to create the exe files. Copy all .ico, .gif and program files from source code folder into your new exe folder otherwise exe will not work.