smart-swimmingpool / pool-controller

🏊 Smart Swimming Pool 2.0 - ESP8266 based Controller managing your swimming pool
https://smart-swimmingpool.com/
MIT License
18 stars 7 forks source link

Implement invert signal in RelayModuleNode.cpp #12

Open 2delarosa opened 3 years ago

2delarosa commented 3 years ago

Simple enhancement to accommodate a greater number of relays and configuration options.

relay = new RelayModule(_pin, true); // The second parameter is whether to invert the signal. The default value is false if omitted.