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 81caedf + 7377f88 commit 0c7dfbfCopy full SHA for 0c7dfbf
libraries/Basics/src/softSerial.cpp
@@ -95,6 +95,12 @@ void softSerial::begin(uint16_t Baudrate)
95
digitalWrite(TX_GPIO,HIGH);
96
}
97
98
+void softSerial::end()
99
+{
100
+ digitalWrite(TX_GPIO, LOW);
101
+ detachInterrupt(RX_GPIO);
102
+}
103
+
104
int softSerial::available(void)
105
{
106
if(IRREC_RX_CNT){
libraries/Basics/src/softSerial.h
@@ -14,6 +14,7 @@ uint8_t pbuffer;
14
~softSerial() {}
15
16
void begin(uint16_t Baudrate);
17
+ void end();
18
19
void sendByte(uint8_t value);
20
void sendStr(uint8_t *st, uint16_t len);
0 commit comments