11.06.2025, 14:27
(This post was last modified: 11.06.2025, 14:29 by Erwin van der Zwart.)
I think it will work if you add on top -> require('serial')
Code:
require('serial')
port = serial.open('/dev/RS232', {
baudrate = 38400,
databits = 8,
stopbits = 1,
parity = 'none',
duplex = 'full'
})