Skip to content

Commit 8b8487e

Browse files
authored
cts(), tso() added
1 parent 4e2339b commit 8b8487e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/Scripting-Language.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -822,8 +822,10 @@ The script itself is also stored on the file system with a default size of 8192
822822
`frb(fr)` read byte from file
823823
`frw(fr url)` read file from web url
824824
`fxt(fr ts_from ts_to col_offs accum array1 array2 ... arrayn)` read arrays from csv file from timestamp to timestamp with column offset and accumulate values into arrays1 .. N, assumes csv file with timestamp in 1. column and data values in colums 2 to n.(#define USE_FEXTRACT)
825-
826-
825+
`cts(tstamp flg)` convert timestamp to german locale format back and forth flg=0 to webformat, 1 to german format
826+
`tso(tstamp day flag)` add time offset in days to timestamp optional flg = char 0 zo zero time HH:MM:SS
827+
828+
827829
**Extended commands** (+0,9k flash)
828830
`#define USE_SCRIPT_FATFS_EXT`
829831
`fmd("fname")` make directory fname

0 commit comments

Comments
 (0)