Remove unnecessary import

This commit is contained in:
askiiart 2022-10-23 13:02:46 -05:00
parent d6a416d7a8
commit 15f8deb2e0

View file

@ -1,4 +1,3 @@
import os
import time import time
from pySerialTransfer import pySerialTransfer as txfer 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 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" # On Windows, it will be "COM#", like "COM3"
# --- # ---
port = '/dev/ttyACM0' port = '/dev/ttyACM2'
link = txfer.SerialTransfer(port, 115200, timeout=.1) link = txfer.SerialTransfer(port, 115200, timeout=.1)
link.open() link.open()