Read data
Read data until a delimiter is found.
let line: string = null;
forever(function () {
line = serial.readUntil(Delimiters.NewLine)
console.log(line)
})
serial
Read data until a delimiter is found.
let line: string = null;
forever(function () {
line = serial.readUntil(Delimiters.NewLine)
console.log(line)
})
serial