Back to Blog
C++ serial library7/29/2023 ![]() disable IGNBRK for mismatched speed tests otherwise receive break ![]() Tty.c_cflag = (tty.c_cflag & ~CSIZE) | CS8 // 8-bit chars Set_interface_attribs (int fd, int speed, int parity)įprintf (stderr, "error %d from tcgetattr", errno) Connections are already listed in the documentation (GND, RX1, TX1). I have personally tested the C code to work as expected on my Omega2+ for UART1 on 115200 Baud (8N1 standard config, non-blocking).The receiving side is a USB-Serial converter on my Windows 10 system. ![]() I don't see any problem with the C code I have pointed you to. ![]()
0 Comments
Read More
Leave a Reply. |