cesars/dimmer@0.0.4

The following library is used for work with dimmer, it gives ability to control large ammoun of dimmer. This lib used with Leonardo, Mega, UNO, ESP8266, ESP32, Arduino M0, Arduino Zero, Arduino Due, STM32. As long as the board is supported by XOD
NodeDescription
00-readmeNo description
dimm-change-state
Change state ON-OFF/OFF-ON
dimm-dev
If AVR = True Pin value in ZC without effect, auto-define in library. UNO-D2 NANO-D7 Mega-D2 Others board, see README dimmPin = user defined
dimm-get-mode
Reading request of the current mode
dimm-get-power
Power adjustment value reading
dimm-get-stateNo description
dimm-mode
Select mode NORMAL/TOGGLE
dimm-on-off
Set state ON-OFF
dimm-set-power
Set power 0...100%
dimm-toggle-set
Dimmer toggle beetwen min-max
To use the nodes in your project you should have the cesars/dimmer library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.