Planted Tank Obsessed
Join Date: Apr 2011
Location: Pleasant Prairie, WI
It does not do ramping as written, it uses alarms to change modes at designated times. In the section below you can specify what mode you want at what time. You are allowed up to 24 alarms as it is set up now (as outlined in the first few posts of this thread) so in theory you could use your custom colors to have a 4 step "ramp" up to your brightest setting. The max number of alarms is 255 (if you modify the library) but each one uses 12 kb memory so if you set up too many of them you will run out of memory. There may be other creative ways to accomplish this but that seems the simplest. You would also put any moonlight settings in here. I just got my kit so I'll put it together in the next couple days and post my settings once I settle on them, as I had similar ideas to you.
// Set up your desired alarms here
// The default value of dtNBR_ALARMS is 6 in Alarms.h.
// This code sets 12 alarms by default, so you'll need to change dtNBR_ALARMS to 12 or more
Alarm.alarmRepeat(9,00,0, Cloud2); // (HR,MIN,SEC,FUNCTION)
// Comment these out if you don't want the chance of a random storm each day
ThunderStorm(); // Sets up intial storm so we don't have wait until alarm time
"Hopefully everything doesn't turn out horribly ironic"