etb-test-script.lua
This commit is contained in:
parent
03bfdde2c9
commit
50a3ef3d36
|
@ -0,0 +1,7 @@
|
|||
setTickRate(20)
|
||||
|
||||
ppsSensor = Sensor.new("AcceleratorPedal")
|
||||
|
||||
function onTick()
|
||||
ppsSensor : set(25)
|
||||
end
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue