23.11.2018, 15:45
I have established successfully a connection with a security alarm but I can’t read the information that it sends as a whole word but in pieces.
Sometimes one by one or two letters and rarely I have the whole word. The command for <<read>> which I use is
respond = port:read(3,0)
log(respond)
I have also used other combinations without any result too. Do you have any idea what is wrong.
Thanks in advance.
Sometimes one by one or two letters and rarely I have the whole word. The command for <<read>> which I use is
respond = port:read(3,0)
log(respond)
I have also used other combinations without any result too. Do you have any idea what is wrong.
Thanks in advance.