I'm trying to write to a serial port in a HaikuHelper script, but the command below returns 'undefined'.
var port = helper.openSerialPort(controller, '/dev/cu.usbserial-FTS0FOSL');
I know the serial port works as I can read/write to it with ZTerm or Python.
Any ideas what I'm doing wrong, or how to go about debugging this?
Thanks,
Dave
var port = helper.openSerialPort(controller, '/dev/cu.usbserial-FTS0FOSL');
I know the serial port works as I can read/write to it with ZTerm or Python.
Any ideas what I'm doing wrong, or how to go about debugging this?
Thanks,
Dave