> I read the question slightly differently (and I was possibly wrong in=20 > my interpretation). I read it as wanting to use RA4 as a 12v output,=20 > and 4 other pins as inputs for 12v levels. You read the question correctly. Thanks for all the comments. Will use a buffer on the output and voltage dividers on inputs. Opto's might be overkill for my application. Shahid -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics