Updated serial port to USB adapter.

This commit is contained in:
2024-06-21 14:18:49 -05:00
parent 0d84bb4a29
commit 4ab244925d

View File

@@ -8,7 +8,7 @@ dsm_registerRecordDeviceDriver(pdbbase)
# Network device # Network device
#!drvAsynIPPortConfigure("serial0", "192.168.1.16:4002",0,0,0) #!drvAsynIPPortConfigure("serial0", "192.168.1.16:4002",0,0,0)
# Local serial port # Local serial port
#!drvAsynSerialPortConfigure("serial0", "/dev/ttyS0", 0, 0, 0) #!drvAsynSerialPortConfigure("serial0", "/dev/ttyUSB0", 0, 0, 0)
drvAsynSerialPortConfigure("serial0", "/tmp/motorport", 0, 0, 0) drvAsynSerialPortConfigure("serial0", "/tmp/motorport", 0, 0, 0)
asynSetOption("serial0", 0, "baud", "115200") asynSetOption("serial0", 0, "baud", "115200")
asynSetOption("serial0", 0, "bits", "8") asynSetOption("serial0", 0, "bits", "8")