On Fri, 17 Nov 2006 14:12:13 +0000, you wrote: >In my circuit I need a couple of open drain outputs (for varying the >resistance to ground of a certain point by connecting resistors). However >the PIC I'm using (12f675) has no open drain outputs, so I was wondering >whether it would be possible to simulate this by switching the pin between a >high impedance input and a low output? Are there any flaws I've missed in >this idea? (yes I could use external FETs, but given the reasons for using >an 8-pin PIC, I'm also trying to keep component count down). Yes - this will work fine, the only proviso being that the pin can't swing above Vdd -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist