> Thanks for the code it seems like that was just the ticket :) word > I have switched back to a single power-supply again and scrapped > the potential dividers from your advice, not sure whats causing it really, > any ideas?? I wonder if noise is getting to Mclr ? Is it filtered in any way, eg a small cap, like 10n, 100n, to ground, or just pulled up ? Any other active inputs that could be getting noise and interfering with code ? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist