sd-log

xod/common-hardware/sd-log

Appends lines of text to a file on SD card
sd-log
@/sd-log
Appends lines of text to a file on SD card
CSport
CS (chip select) pin the SD card reader is connected to. Also known as SS (slave select).
FILEstring
File name to append to
LINEstring
Line to append
Wpulse
Perform file open, write, flush, close cycle
sd-log
DONEDONEERRERRCSCSFILEFILELINELINEWW
ERRboolean
Outputs `false` if the last write succeed. Set to `true` if an error occured: wrong connection, missing or bad SD card, write protection.
DONEpulse
Fires when write is done