Skip to content

Commit

Permalink
Merge branch 'qa'
Browse files Browse the repository at this point in the history
  • Loading branch information
BeebBenjamin committed May 25, 2023
2 parents fdd161d + 1d0af7c commit 10f642f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ into your Arduino IDE, the project can be found here: https://github.com/jprodge

Use the Arduino IDE to upload the code from the `arduino/rti_py` directory to the Ardunio Uno in the usual way.

To install the Python script needed to communicate with the Arduino board first install `Python 3.6` and `pipenv` as
To install the Python script needed to communicate with the Arduino board first install `Python 3.8` and `pipenv` as
per your computer's OS.

**N.B.** Only Linux or MacOS are currently supported by this project.
Expand Down
2 changes: 2 additions & 0 deletions rti_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def get_serial_port() -> Optional[str]:
return "/dev/" + os.popen("dmesg | egrep ttyACM | cut -f3 -d: | tail -n1").read().strip()
elif sys.platform == "darwin":
return "/dev/cu.usbmodem1411"
elif sys.platform == "win32":
return "COM3"

return None

Expand Down

0 comments on commit 10f642f

Please sign in to comment.