Registers an event to be fired when one of the delimiter is matched.
serial.onDataReceived(",", () => {})
delimiters
is a string containing any of the character to matchRead values separated by ,
:
serial.onDataReceived(serial.delimiters(Delimiters.Comma), () => {
basic.showString(serial.readUntil(serial.delimiters(Delimiters.Comma)))
})