> I am having trouble getting all ports to work as inputs on my > 18F 40pin PIC. You know certain peripherals (A/D, comperator) can disable the normal digital input function of certain pins? Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist