[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Lua and Serial Port
- From: Helen Fornazier <helen@...>
- Date: Fri, 29 Mar 2013 12:04:20 +0100
When I execute the code :
print("Dragino Uart Test started\n")
while 1 do
print(serialin:read()) --print the data
I read the serial port but I receive an echo too and the read() waits until a new line character to return.
There is any other way to read from a serial port ?
Thank you for your help, I appreciate it.