Total noob question I'm sure, but I would like to run the Lunar Hub from my unused ATO Low pins. What would I add to my code to make that work?
Thanks in advance for any advice.
Dimming Lunar Hub on ATO Low
-
rimai
- Posts: 12857
- Joined: Fri Mar 18, 2011 6:47 pm
Re: Dimming Lunar Hub on ATO Low
Use this:
Code: Select all
pinMode(lowATOPin,OUTPUT);
digitalWrite(lowATOPin, MoonPhase()*2.55);
Roberto.
-
wolf8895
- Posts: 5
- Joined: Wed Feb 19, 2014 6:38 am
Re: Dimming Lunar Hub on ATO Low
Thank you so much!
Looking forward to getting everything dialed in the way I want. I'm sure I'll be adding the actual dimming hub later in the year when I get the nerve to tear into my lights.
Looking forward to getting everything dialed in the way I want. I'm sure I'll be adding the actual dimming hub later in the year when I get the nerve to tear into my lights.