Updated Lua Scripting (markdown)

This commit is contained in:
rusefillc 2022-07-14 07:31:10 -04:00
parent 40498f8524
commit 49ea09510a
1 changed files with 6 additions and 0 deletions

View File

@ -153,6 +153,9 @@ Sets the rate at which rusEFI calls your `onTick` and `onCanRx` functions, in hz
Stops MCU.
### `findTableIndex(name)`
Find table index by specified human-readable name.
### `table3d(tableIdx, x, y)`
Looks up a value from the specified Script Table.
@ -164,6 +167,9 @@ Looks up a value from the specified Script Table.
- Returns
- A number representing the value looked up from the table.
### `findCurveIndex(name)`
Finds curve index by specific curve name
### `curve(curveIdx, x)`
Looks up a value from the specified Script Curve.