From cde1702003ec7d56fe0d12260b445923571f6871 Mon Sep 17 00:00:00 2001 From: rusefillc <48498823+rusefillc@users.noreply.github.com> Date: Wed, 24 Aug 2022 18:38:33 -0400 Subject: [PATCH] Updated Lua Scripting (markdown) --- Lua-Scripting.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lua-Scripting.md b/Lua-Scripting.md index 28046541..c46da4b3 100644 --- a/Lua-Scripting.md +++ b/Lua-Scripting.md @@ -188,6 +188,10 @@ Sets the rate at which rusEFI calls your `onTick` and `onCanRx` functions, in hz Stops MCU. +### `interpolate(x1, y1, x2, y2, x)` + +Interpolates `x` placing it on the line defined by (x1, y1) and (x2, y2) + ### `findTableIndex(name)` Find table index by specified human-readable name.