Help Needed for Reef Aquarium LED Controller

Check out the code here, I think this is kind of what you are looking for.