That is correct. The PIC will be powered. I want it to be able to see an input when 12 volts is applied. The program is busy doing a bunch of other things, but it will check that input like this; if input1 = 1 then do this, if input1 = 0, then don't do this.