More info on Serial Port reading /writing - firmware 2.8.4?
Posted: Mon Aug 24, 2015 10:42 pm
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!
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!