I am having trouble understanding this. Upon searching I found
Sets a specific byte to buffer until before calling serialEvent()
This is from this link from the Processing Website
Serial event is the function, that the user states by putting in the Serial port defined as the function, if I’m not mistaken.
But I have seen bufferUntil(‘\n’) when nothing’s being sent to the Serial, so what is this doing, and what does it mean before calling serialEvent() this is put in setup how could it be called each time before a function? And I have also seen arguments like lf, so what is happening here, and how does it synergies with that serialEvent() function?
Thanks for the help, cheers!