esphome / esphome/feature-requests
Invert Logic for softwareserial.
- Dominant language
- No language data
- Stars
- 450
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
The base arduino swserial has the invert logic.
class SoftwareSerial : public Stream {
public:
SoftwareSerial(int receivePin, int transmitPin, bool inverse_logic = false, unsigned int buffSize = 64);
virtual ~SoftwareSerial();
**Describe the problem you have/What new integration you would like**
add the inverted flag to the constructor and use it to flip flop as needed during the methods.
**Please describe your use case for this integration and alternatives you've tried:**
It would be nice addon if that option existed in esphome. All the honeywell alarm panels work in inverse. can't read and write from the alarm panel without using it this way.
**Additional context**
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.