From 05ccf0cd3d766801f011995c47916cc01621b5df Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 7 Jun 2023 05:47:32 -0400 Subject: [PATCH] getSensor("AcceleratorPedal") --- Lua-Scripting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lua-Scripting.md b/Lua-Scripting.md index fe6c21da..a35b064d 100644 --- a/Lua-Scripting.md +++ b/Lua-Scripting.md @@ -326,7 +326,7 @@ Puts MCU into standby low current consumption mode. #### `getSensor(name)` -Reads the specified sensor. +Reads the specified sensor. For instance ``getSensor("AcceleratorPedal")`` - Parameters - `name`: Name of the sensor to read. [A list of sensor names can be found here.](https://github.com/rusefi/rusefi/blob/master/firmware/controllers/sensors/sensor_type.h)