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
Update Serial.cpp to support 9-bit functionality on UART
Add two functions and the supporting 9N1 case logic to allow for turning on 9-bit support and sending commands. The second argument, bool, allows for turning on or off the 9th bit, also known as the wake bit.
Serial1.begin(19200, SERIAL_9N1);
Serial1.write_9bit(0x81, true);
Serial1.write_9bit(&temp[1], false, len - 1);
0 commit comments