Rikard Bosnjakovic wrote: > Works fine, except for PORTA. No matter which value I try to set in > PORTA, it returns to the initial zero. Does this have something to do > with that I've set MCLRE in the config word to zero, or what's the > reason? Hi Rik, maybe you need to configure it as Digital (as opposed to analog, which is the default.) -- Ciao, Dario -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist