Hi, I need to be able to detect state changes of the CTS line.
I have been using the following simple app:
io.num = PL_IO_NUM_18_INT2 ' CTS input of the serial port 2
io.enabled=NO 'we configure this line as input (default)
dim x as low_high
do
x = io.lineget(PL_IO_NUM_18_INT2)
loop until x = LOW ' it's always HIGH no matter what
To alter the state of the CTS line I use an external circuit. It works for my PC after I anable the DTR line/pin. But how do I enable it on this device?
Hello everyone,
I have a EM1202EV-RS-01 board, and, I need to connect to a device that needs the DTR on. I suppose that to set the DTR I need to use the io.state.
The problem is to know which is the line to enable (from the manual - platform dependet- All I/O lines of the EM1202 platform require explicit configuration as inputs or outputs ). which line PL_IO_NUM_x I have to enable on this board to bset the DTR signal? (there isn't the manual for this board)
thanks for the support