diff --git a/Python/sock.py b/Python/sock.py index e022bed..ea678c1 100644 --- a/Python/sock.py +++ b/Python/sock.py @@ -101,7 +101,7 @@ def sendDMX(data): global DMXRDM while True: - with serial.Serial('/dev/serial1', baudrate=250000, timeout=1, stopbits=serial.STOPBITS_TWO, bytesize=8) as DMXSER:# UART configuration and definition + with serial.Serial('/dev/ttyAMA0', baudrate=250000, timeout=1, stopbits=serial.STOPBITS_TWO, bytesize=8) as DMXSER:# UART configuration and definition DMXSER.cancel_read() # GPIO_18 to switch RS-485 driver (IC1) to TX-mode