Automatic connection between a python script and one or more arduinos
To run the script, open bash console, go to the repository and type > Python root.py
How to use ?
Arduino code :
- Take an arduino, send the programm placed in the folder arduinoProgram.
- Just set-up the ID of the arduino line 18 (you can keep the default ID)
Python code :
- Open classes/SensorNames.py and change if needed the name of your sensor
- Run root.py and enjoy !
By default, this script just read the json object of the arduino.