Page 1 of 1
Dimming Lunar Hub on ATO Low
Posted: Sun Mar 16, 2014 5:36 am
by wolf8895
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.
Re: Dimming Lunar Hub on ATO Low
Posted: Sun Mar 16, 2014 9:02 am
by rimai
Use this:
Code: Select all
pinMode(lowATOPin,OUTPUT);
digitalWrite(lowATOPin, MoonPhase()*2.55);
Re: Dimming Lunar Hub on ATO Low
Posted: Sun Mar 16, 2014 5:08 pm
by wolf8895
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.