> There is another spec that says input clamp current (IIK (VI > < 0 or VI > > VDD)) is +-20mA. (This is the 18F1220/1320 datasheet FWIW.) > I presume > this doesn't mean the PIC clamps the current to +-20mA... > what does it > mean, exactly? It is probably in the 'absolute maxima' section, which means that the PIC won't be destroyed immediately. It certainly does not mean that it is guaranteed to work properly, or that it will survive long-term exposure to that current. How about using a PC814? http://www.it.lth.se/datablad/Display/opto/pc814.pdf 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