Hi Whats the best way of controling the brightness of mains lights? I saw a lamp a while back that consisted of a frosted perspex tube with two coloured mains lamps in it. They were then faded in and out to produce various coloured lighting in the room. I liked the idea but I thought I could do better with a PIC and make it user controllable (such as speed of change and pattern). I was thinking of triac control but I have never had to do this in the past. Can someone suggest some code or control method that would be appropriate. Cheers Tim Kerby ------------------------------------------------------------------ Personal Web Pages: http://web.ukonline.co.uk/members/tim.kerby/ Email: tim.kerby@ukonline.co.uk ------------------------------------------------------------------