
Writes a chunk of data into an open file and advances the write pointer so that another write operation can append new data.
WRITE requires two arguments. The first one is a handle number from 0 to 100, that must refer to a file which is already open. The second and last argument is the data itself, that should be written into the file.
ERR_OK (0) If everything worked as expected.
ERR_ARGUMENT (4) if the handle number was out of range.
ERR_NO_WRITE (30) if the file is open but has read access.
ERR_DISK_FULL (24) if there's not enough room on the disk
ERR_FR_... (13...25) general file system errors if the file system encounters a problem.
WRITE 1 hello_world
Writes the string "hello_world" into a file that is open as file handle #1
This command only works modules that have some kind of mass storage (USB or SD-Card)