Hi everyone. I'm quite new to the world of PICs, and I've got a couple of (hopefully simple) questions about the PIC16C71... 1. When a pin is configured as an analog input, can it still be used as a digital output? Or would you first have to reconfigure it as digital I/O? The reason why I ask, is that it appears that RA1 can set up as digital I/O only if RA0 is also. 2. If you write a digital 1 or 0 to a pin which is configured as an analog input (and has a voltage connected to it), will it cause excessive current and damage the PIC? Or will the digital output just be ignored by the PIC? 3. The databook states that an analog input reads as a digital 0. Does this mean it's not a good idea to do a BSF/BCF on PORT_A if you've got one or more pins set up as analog inputs? I guess this kind of ties into question #2, since (I think) it would cause 0's to be output on all analog inputs. 4. Let's say I've got RA0 & RA1 set up as analog inputs, and RA2-RA4 as digital I/O. What happens if I write to one of the digital outputs on PORT_A while an A/D conversion is taking place? Will it cause an incorrect value to be converted? I hope these questions make some sense. Any responses will be greatly appreciated. Thanks, -- - Richard Friesen Little Timmy took a drink, (Richard_Friesen@mindlink.bc.ca) But now he'll drink no more, For what he thought was H2O Was H2SO4 ------------------------------------------------------------------------------ --