You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, once I open the port (with RawMode), CSTOPB seems set. I added a debug print for termios.Tcgetattr(uintptr(t.fd), &attr): 36608. CSTOPB is 1024 on my computer and is therefore set.
I do not understand serial communication enough to figure out whether the issue pops up in the initialization of the port or somewhere else.
The text was updated successfully, but these errors were encountered:
My serial port, by default, has one stop bit. After opening it with term.Open, it is set to two.
In shell,
stty -a -f /dev/cu.usbserial
prints out the following cflags:However, once I open the port (with RawMode), CSTOPB seems set. I added a debug print for
termios.Tcgetattr(uintptr(t.fd), &attr)
: 36608. CSTOPB is 1024 on my computer and is therefore set.I do not understand serial communication enough to figure out whether the issue pops up in the initialization of the port or somewhere else.
The text was updated successfully, but these errors were encountered: