On 3/7/07, Jan-Erik Soderholm wrote: > See (and read! :-) ) "Note 3" in the grey box on the page > with the description for PORTA in the datasheet. Ok, now I'm a bit confused as things seem to go way above my basic level of knowledge right now so I have no clue what to do. Scenario: I need 5 inputs and 11 outputs. PORTB is set to all outputs, so I have only PORTA left. 5 inputs and 3 outputs does fit, but I seem to lack the proper magic to configure the upper bits of PORTA. Feel free to point me to a place that helps me understand what I'm supposed to do and why. The datasheet is good as a reference, but since this is my first playground with a PIC, it tends to get very complicated very quickly. -- - Rikard. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist