Updated Lua Scripting (markdown)

This commit is contained in:
Matthew Kennedy 2021-05-09 13:20:21 -07:00
parent 233a527670
commit 717da401f8
1 changed files with 0 additions and 10 deletions

View File

@ -114,16 +114,6 @@ Checks whether a particular sensor is configured (whether it is currently valid
- Returns
- A boolean value, `true` if the sensor is configured, and `false` if not.
### `getAnalog(index)`
Reads an analog voltage from one of the FSIO ADC inputs.
- Parameters
- `index`: The index of the configured analog input to read. Currently 4 inputs are supported, so values of 0, 1, 2, 3 are valid for this parameter.
- Returns
- The raw analog voltage from the input pin. Most rusEFI ECUs can measure between 0 and 5 volts, so this value will be a number between 0 and 5.
### `getDigital(index)`
Reads a digital input from the specified channel.