> Thank you everyone for your help and suggestions, sounds like isolating > the circuit wins the votes. Steve w.r.t. using a 6 v transformer, I'm > not sure this helps since the pic is driving a triac which is > controlling lights running on mains. Personally i wouldn't have the triac circuit live when doing the pic development work unless I had a good reason to. Working live on mains stuff is something that should only be done when there is no other way of performing the tests required. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist