Arduino code.
Run get_device.sh
to get the device name.
$ chmod u+x get_device.sh
$ ./get_device.sh
Update the Python script here to use the device name.
Update this function with any necessary setup code for the Arduino board (e.g. setting pin modes).
Modify the code here to run the program you'd like.
Run the python script
$ python main.py