Adding code to PWM LED dimming

Darn I thought it would be easy to just plug in a few lines of code... Yes, I have the DS1307 RTC and meanwell PWM dimming drivers for the LEDs.