On Thu, Apr 21, 2022 at 9:27 AM Daniel Jankins wrote:
>
> I have a serial port that is streaming data. The data is terminated by a /r
> only.
> I am trying to use scanner.Scan () to break up the lines. Is there a way to
> change the scanner end of line character to /r only?
See https://pkg.go
Hi,
I have a serial port that is streaming data. The data is terminated by a
/r only.
I am trying to use scanner.Scan () to break up the lines. Is there a way
to change the scanner end of line character to /r only?
Thank you
config := &serial.Config {
Name:lmt.ComPort,
Baud:576