How to identify that the messages have stopped coming in serial port using ttl-teraterm

181 Views Asked by At

I am trying to close teraterm using ttl script, if the last message was received 10 seconds back. How to identify that the messages have stopped coming in the port?

1

There are 1 best solutions below

1
On

Add below code at the end of your script

pause 10

disconnect 0

end