hx function

Michael Ingraham 2019-09-18 13:29:06 -04:00
parent dc34bd797c
commit f8fc6bab7d
1 changed files with 1 additions and 0 deletions

@ -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) `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) `int(x)` = gets the integer part of x (like floor)
`hn(x)` = converts x (0..255) to a hex nibble string `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 n<sup>th</sup> element of svar delimited by c `st(svar c n)` = string token - retrieve the n<sup>th</sup> element of svar delimited by c
`sl(svar)` = gets the length of a string `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 `sb(svar p n)` = gets a substring from svar at position p (if p<0 counts from end) and length n