[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua serial library. Wich?
- From: Enrico Colombini <erix@...>
- Date: Sun, 5 Nov 2017 15:21:19 +0100
On 05-Nov-17 15:10, dyngeccetor8 wrote:
I had similar problem when mated Lua with Arduino. Bare opening device as file
file_name = '/dev/ttyUSB0'
comm_read = assert(io.open(file_name, 'r'))
comm_write = assert(io.open(file_name, 'w'))
Or you need some specific features?
Interesting. But how do you set serial speed and port features (byte
format, no echo, no hardware handshake, raw data, etc.)?