dimmable-light
dimmable-light copied to clipboard
Added some features
Instead of hardcoding values, user can change them in definition/setup
The extra features of this request:
- setSyncDir(uint8_t dir) to adjust the interrupt direction FALLING, RISING, CHANGE
- setSyncPullup(bool pullup) to activate internal pull-up resistor on zero-crossing detection
- setGateTurnOffTime(uint16_t timeOff) to change the value of the gate turn off time