Hi all,
I am trying to adapt an arduino sketch for reading ecu serial data into Lua for logging/display in the RCP 2.0.
I'd like to start with something simple - how would I read ecu part number info at 0xD0?
Is it as simple as
function ontick()
initSer(4, 9600, 8, 0, 1)
println(readSer(4, 0xD0, 50))
end()
Help!
More info on Serial Port reading /writing - firmware 2.8.4?
Hi,
The Lua serial API has been updated here: http://autosportlabs.net/RaceCapturePro ... unications
It has full support for reading newline terminated strings as well as character based data.
Hope this helps; let us know if we can help further.
The Lua serial API has been updated here: http://autosportlabs.net/RaceCapturePro ... unications
It has full support for reading newline terminated strings as well as character based data.
Hope this helps; let us know if we can help further.