We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ad8748 + 17e1eb5 commit b999ed2Copy full SHA for b999ed2
libraries/SoftwareSerial/SoftwareSerial.cpp
@@ -355,7 +355,7 @@ SoftwareSerial::~SoftwareSerial()
355
void SoftwareSerial::setTX(uint8_t tx)
356
{
357
pinMode(tx, OUTPUT);
358
- digitalWrite(tx, HIGH);
+ digitalWrite(tx, _inverse_logic ? LOW : HIGH);
359
_transmitBitMask = digitalPinToBitMask(tx);
360
uint8_t port = digitalPinToPort(tx);
361
_transmitPortRegister = portOutputRegister(port);
0 commit comments