From c6adc3f39fd6fb2895b89bb7d51f458c092093bb Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sat, 22 Apr 2023 15:34:47 -0400 Subject: [PATCH] today is honda day --- firmware/controllers/lua/examples/honda-bcm.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/controllers/lua/examples/honda-bcm.txt b/firmware/controllers/lua/examples/honda-bcm.txt index 579032753e..4fee34413a 100644 --- a/firmware/controllers/lua/examples/honda-bcm.txt +++ b/firmware/controllers/lua/examples/honda-bcm.txt @@ -3,8 +3,8 @@ setTickRate(300) timeout = 3000 ---rpmSensor = Sensor.new("rpm") ---rpmSensor : setTimeout(timeout) +rpmSensor = Sensor.new("rpm") +rpmSensor : setTimeout(timeout) ppsSensor = Sensor.new("AcceleratorPedal") ppsSensor : setTimeout(timeout) @@ -53,7 +53,7 @@ function onPOWERTRAIN_DATA(bus, id, dlc, data) ppsSensor : set(ppsValue) rpmValue = getTwoBytesMSB(data, 2, 1) - --rpmSensor : set(rpmValue) + rpmSensor : set(rpmValue) -- print('onPOWERTRAIN_DATA ' .. rpmValue .. ' pedal ' .. ppsValue) end