etb-test-script.lua

This commit is contained in:
rusefi 2024-11-11 17:59:03 -05:00
parent 03bfdde2c9
commit 50a3ef3d36
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,7 @@
setTickRate(20)
ppsSensor = Sensor.new("AcceleratorPedal")
function onTick()
ppsSensor : set(25)
end

View File

@ -1,6 +1,7 @@
-- https://sourceforge.net/p/ecu/wiki/canbus/
-- todo: CAN ID 430h, period 50ms, produced by SJB. Byte 7: Bit2 A/C request (button pressed).
-- see also 'etb-test-script.lua'
canRxAdd(0x201)
setTickRate(20)