From e437d165ef2ac8a432debc95fba756ebfd83417c Mon Sep 17 00:00:00 2001 From: rusefillc <48498823+rusefillc@users.noreply.github.com> Date: Thu, 25 Aug 2022 20:15:25 -0400 Subject: [PATCH] Update B6-temp.md --- B6-temp.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/B6-temp.md b/B6-temp.md index 49da37ca..a4bab84a 100644 --- a/B6-temp.md +++ b/B6-temp.md @@ -53,11 +53,16 @@ totalTcuMessages = 0 function onMotor1(bus, id, dlc, data) engineTorque = getBitRange(data, 8, 8) * 0.39 rpm = getBitRange(data, 16, 16) * 0.25 + + innerTorqWithoutExt = getBitRange(data, 32, 8) * 0.4 tps = getBitRange(data, 40, 8) * 0.4 + torqueLoss = getBitRange(data, 48, 8) * 0.39 requestedTorque = getBitRange(data, 56, 8) * 0.39 print ('engineTorque ' .. engineTorque .. ' RPM ' .. rpm) + print ('innerTorqWithoutExt ' .. innerTorqWithoutExt .. ' tps ' .. tps) + print ('torqueLoss ' .. torqueLoss ' requestedTorque ' .. requestedTorque) end