Actually, my main concern is to know what is the level of the PICs output if its not powered: 0V or unknown state?
This is why Ive put the pullup resistor .
But you said the pullup should work OK and not effect the PIC at all unless it is connected to one of the programming pins .
But actually, the output of the PIC will be cabled thru the 1Kohm resistor .. But the PIC might be powered or not!!!
So basically, the 5V thru the 10kohm pullup resistor means injecting 5V onto the PICs output, which might damage it?
So at the end, I should make sure that I power on the proto board (thus the PIC) first, then the 12V and then install the battery to be discharged. In that case, I can remove the pullup resistor
This is why Ive put the pullup resistor .
But you said the pullup should work OK and not effect the PIC at all unless it is connected to one of the programming pins .
But actually, the output of the PIC will be cabled thru the 1Kohm resistor .. But the PIC might be powered or not!!!
So basically, the 5V thru the 10kohm pullup resistor means injecting 5V onto the PICs output, which might damage it?
So at the end, I should make sure that I power on the proto board (thus the PIC) first, then the 12V and then install the battery to be discharged. In that case, I can remove the pullup resistor