Remove unnecessary import
This commit is contained in:
parent
d6a416d7a8
commit
15f8deb2e0
1 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
import os
|
||||
import time
|
||||
|
||||
from pySerialTransfer import pySerialTransfer as txfer
|
||||
|
@ -10,7 +9,7 @@ try:
|
|||
# On Linux, it will be "/dev/ttyXXX#", like "/dev/ttyACM0" or "/dev/ttyUSB0". I think macOS is the same.
|
||||
# On Windows, it will be "COM#", like "COM3"
|
||||
# ---
|
||||
port = '/dev/ttyACM0'
|
||||
port = '/dev/ttyACM2'
|
||||
link = txfer.SerialTransfer(port, 115200, timeout=.1)
|
||||
|
||||
link.open()
|
||||
|
|
Loading…
Reference in a new issue