Thanks for that Ralph, i see where i went wrong on the increase.

Having reached maximum brightness (255), how would i now make it decrease brightness back to 0. If i make it bright = bright - 1 then it only goes 1 step down, then back up again.

I want it to perform like a conventional houshold light touch dimmer.

Can you help, thanks.

Steve