Morning guys,
Thanks for the suggestions. Yes the variable is a word, sorry should of pointed that out.
I haven't tried the suggestions yet, but wondered if Henrik's suggestion could be modified to
In my mind this will work out the seconds for both hours and minutes then add them together and divide the result by 255 ??Code:blue_delay_in = (fadesetHR[0] * 3600) + (fadesetMN[0] * 60) / 255
I never have been good at calculations with lots of brackets when programming !!![]()




Bookmarks