This commit is contained in:
parent
940b8abf64
commit
3de880e892
|
@ -86,15 +86,23 @@ Sets the rate at which rusEFI calls your `onTick` function, in hz.
|
|||
|
||||
### `table3d(tableIdx, x, y)`
|
||||
|
||||
Looks up a value from the specified FSIO table.
|
||||
Looks up a value from the specified Script Table.
|
||||
|
||||
- Parameters
|
||||
- `tableIdx`: Index of the table to use. Currently 4 tables are supported, so indices 0, 1, 2, and 3 are valid.
|
||||
- `tableIdx`: Index of the table to use. Currently 4 tables are supported, so indices 1, 2, 3, and 4 are valid.
|
||||
- `x`: X-axis value to look up in the table (this is often RPM)
|
||||
- `y`: Y-axis value to look up in the table (this is often load)
|
||||
- Returns
|
||||
- A number representing the value looked up from the table.
|
||||
|
||||
### curve(curveIdx, x)
|
||||
|
||||
Looks up a value from the specified Script Curve.
|
||||
- Parameters
|
||||
- `tableIdx`: Index of the script to use, starting from 1.
|
||||
- `x`: Axis value to look up in the table
|
||||
|
||||
|
||||
### `setDebug(index, value)`
|
||||
|
||||
Sets a debug channel to the specified value. Note: this only works when the ECU debug mode is set to `Lua`.
|
||||
|
|
Loading…
Reference in New Issue