diff --git a/Scripting-Language.md b/Scripting-Language.md index 3f039ad3..76f5096c 100644 --- a/Scripting-Language.md +++ b/Scripting-Language.md @@ -108,7 +108,7 @@ The lines in this section are displayed in the web UI main page. Requires compil >- HTML statements preceded with a `@` are displayed at the top of the page >- USER IO elements are displayed at the top of the page > ->A web user interface may be generated containing any of the following elements: toggle button, check box, slider, or text input. +>A web user interface may be generated containing any of the following elements: toggle button, check box, slider, or text and number input. >- **Button:** `bu( )` (up to 4 buttons may be defined in one row) `` = name of variable to hold button state `` = text of ON state of button @@ -126,6 +126,12 @@ The lines in this section are displayed in the web UI main page. Requires compil >- **Text Input:** `tx( )` `` = name of string variable to hold text state `` = label text +>- **Number Input:** `nm( )` + `` = number minimum value + `` = number maximum value + `` = number step value for up/down arrows + `` = name of number variable to hold number + `` = label text >`>J` The lines in this section are published via MQTT in a JSON payload on [TelePeriod](Commands#teleperiod). Requires compiling with `#define USE_SCRIPT_JSON_EXPORT `.