- Download ZIP file "engr101-master.zip" from https://github.com/trudiQ/engr101/tree/master
- Install Anaconda: https://www.anaconda.com/products/individual
- Open Anaconda Prompt (WINDOWS); for Mac, just open the terminal
- Navigate to the "engr101-master", for example:
cd "./engr101-master"
- Create and activate a new virtual environment named "engr101" (this will install all the required python libraries):
conda env create -f environment.yml
conda activate engr101
- Open Lesson 29 using the Arduino IDE, check the port number: say'COMP7' (WINDOWS) (for Mac:'the whole string of the port', say '/dev/cu.usbmodem1423201')
- Open the python file and find the line "ser = serial.Serial('COM6', 9600)"
- Replace 'COM6' with your port number, save, and close the python file
- Run the python file:
python arduino-lesson29_livePlot.py