Added facility to invert the polarity of input UART bits. (#4200)

This commit is contained in:
brian-r-calder
2020-10-01 06:58:48 -04:00
committed by GitHub
parent d03f8f1277
commit 8fcc914853
4 changed files with 20 additions and 0 deletions

View File

@ -184,3 +184,8 @@ HardwareSerial::operator bool() const
{
return true;
}
void HardwareSerial::setRxInvert(bool invert)
{
uartSetRxInvert(_uart, invert);
}