Richard, need some further assistance please.

I want to be able to set the delay that the LEDs fade up and down via a menu option on the LCD. To make the interface user friendly I would like to enter the period in which the LEDs fade to the pre set brightness in the form of hours and minutes rather than "level 1, 2, 3" etc where that value is used in the SS/1 or SS/2 etc. Can you advise on how to convert time delay into these values. EG Delay Hours (DH) and delay minutes (DM) gets converted into //white_delay. So for example I want the whites to ramp up in 30 minutes DM gets converted into the value after SS/ (which I'm guessing will be around 5 or 6 ?)