Updated version

This commit is contained in:
Mark Qvist 2022-12-16 23:21:22 +01:00
parent 5e62e3bc22
commit 30d8e351dd
3 changed files with 3 additions and 3 deletions

View File

@ -282,7 +282,7 @@ class RNodeInterface(Interface):
serial.timeout = 0.1 serial.timeout = 0.1
elif vid == 0x10C4: elif vid == 0x10C4:
# Hardware parameters for SiLabs CP210x @ 115200 baud # Hardware parameters for SiLabs CP210x @ 115200 baud
serial.DEFAULT_READ_BUFFER_SIZE = 64 serial.DEFAULT_READ_BUFFER_SIZE = 64
serial.USB_READ_TIMEOUT_MILLIS = 12 serial.USB_READ_TIMEOUT_MILLIS = 12
serial.timeout = 0.012 serial.timeout = 0.012
elif vid == 0x1A86 and pid == 0x55D4: elif vid == 0x1A86 and pid == 0x55D4:

View File

@ -1073,7 +1073,7 @@ def main():
print(" ["+str(pi)+"] "+str(port.device)+" ("+str(port.product)+", "+str(port.serial_number)+")") print(" ["+str(pi)+"] "+str(port.device)+" ("+str(port.product)+", "+str(port.serial_number)+")")
pi += 1 pi += 1
print("\nWhat serial port is your device connected to? ", end="") print("\nEnter the number of the serial port your device is connected to: ", end="")
try: try:
c_port = int(input()) c_port = int(input())
if c_port < 1 or c_port > len(ports): if c_port < 1 or c_port > len(ports):

View File

@ -1 +1 @@
__version__ = "0.4.2" __version__ = "0.4.3"