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.