Timer For 3 Lights With Dials
This code will take control of your plant lighting. One chip will allow you to set the lighting time of three grow lamps (or hydroponics stations) with three dials, each dial takes control of one grow lamp. You can also use fewer lamps/dials, the code will not swear if you connect one dial, two, or none at all.
Minutes per day are set on the dials, taking into account the fact that the day lasts 20 minutes.
If you have a different day/night cycle you can change "minutesPerDay" in line 18 from 20 to your minutes per day.
1. Write the code to the chip.
2. Connect the required number of dials/lamps to the socket.
3. The default lighting time is 10 minutes. If necessary, change at the appropriate regulators.
Happy gardening!
Version "One Dial – All Grow Lights In The Network" – https://steamcommunity.com/sharedfiles/filedetails/?id=2943939297