> And now the problem: the current from the pin of parallel port at logic >level high seems to feed the entire PIC circuit, because it runs even >without power. The voltage across the pull-up resistor is 1.2V, so I supose >that the PIC chip is consumming 3.6 microAmps. Of course, I'm not using the >SLEEP mode and there is not short-circuits in the PCB. May be that the >current flows internally from the RA1 ping to Vcc??? It seems very strange, >Any suggestions??? Sometimes, the parallel port gives amazing results... What about this ? ___ ___ ! ! ! !-! ____ !-! ! ! ! ! ! !_! ! ! ! !____! RA1 ! ___ !/ ! ---!___!--! ! !\ !____ ! _!_ /// |\_____/| ___ |[o] [o]| ___ ___ ___ (o,o) | V | (o o) (o o) (o,o) < . > | | ( V ) ( V ) < . > ----"-"----ooo---ooo--------m-m- /--m-m-----------------"-"------- Luc Martin luc@greco2.polytechnique.fr http://www.geocities.com/SiliconValley/Bay/2752