Skip to content

endLine()

CreativeRobotics edited this page Mar 4, 2020 · 6 revisions

bool endLine()

Appends a newline to the buffer and processes it. This should be used when reading files to handle the final line of a file if it does not contain an end of line character.

Example:

void readFile(){

while(cmd.update()){delay(1);}

cmd.endLine();

}

Clone this wiki locally