06.10.2016, 08:31
Hi everybody !
I have trouble following:
Write a script to check the data via USB to the LM.
-----------
require ('serial')
if not ready then
Ready = true
port, err = serial.open ('/ dev / ttyUSB2')
log (port, err)
end
-----------
On Lm2 will be announced:
Lua serials @ / dev / ttyUSB2; baud: 115200; parity: none, data bits: 8, stop bits: 1, duplex: full, flow: none
Such is the success!
-----------
On LM3 will be announced:
* Arg: 1
* luaserial
* Arg: 2
* nil
Such is successful or unsuccessful?
Plug the device was still on the LM2 and LM3 is the same USB device
I have trouble following:
Write a script to check the data via USB to the LM.
-----------
require ('serial')
if not ready then
Ready = true
port, err = serial.open ('/ dev / ttyUSB2')
log (port, err)
end
-----------
On Lm2 will be announced:
Lua serials @ / dev / ttyUSB2; baud: 115200; parity: none, data bits: 8, stop bits: 1, duplex: full, flow: none
Such is the success!
-----------
On LM3 will be announced:
* Arg: 1
* luaserial
* Arg: 2
* nil
Such is successful or unsuccessful?
Plug the device was still on the LM2 and LM3 is the same USB device