Hello I would like to simplify a four bit d/a that I'm using portb 4-7 to emulate I have each pin connected to a diode then a resistor this in turn draws current from the noninverting side of a voltage follower configured opamp this in turn causes the output to swing + to compensate and the inverting output is connected to a pot to provide the initial offset simple right? only I figure if I change the port pins from low to high impedance I can dispense with the diodes right? What sort of morass am I wading into firmware wise I mean the port is allready working hard but is configured as an output and I have no experience changing individual pin configurations. Generally I configure b out a in and leave it at that but...anyway.oh yeah 16c84 xt mode 100khz line powered .R2R increases the part count (discrete's) and space is as usual at a premium.can I toggle a configuration bit without creating artifacts on the other pins of that or any other port?The data book explains how I suppose but is not to clear on the downside . respects Tony M.