From f8fc6bab7ddd6c09bb392a80da0e725144f34bf8 Mon Sep 17 00:00:00 2001 From: Michael Ingraham <34340210+meingraham@users.noreply.github.com> Date: Wed, 18 Sep 2019 13:29:06 -0400 Subject: [PATCH] hx function --- Scripting-Language.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Scripting-Language.md b/Scripting-Language.md index 9defcf96..02fa9c68 100644 --- a/Scripting-Language.md +++ b/Scripting-Language.md @@ -161,6 +161,7 @@ If a Tasmota `SENSOR` or `STATUS` or `RESULT` message is not generated or a `Var `med(n x)` = calculates a 5 value median filter of x (2 filters possible n=0,1) `int(x)` = gets the integer part of x (like floor) `hn(x)` = converts x (0..255) to a hex nibble string +`hx(x)` = converts x (0..65535) to a hex string `st(svar c n)` = string token - retrieve the nth element of svar delimited by c `sl(svar)` = gets the length of a string `sb(svar p n)` = gets a substring from svar at position p (if p<0 counts from end) and length n