It should...must be something else wrong...
From the 12F683 datasheet...DS41211D...page 121...parameters D030, D030A, D031.
If the pin is a TTL input, logic low is .15Vdd = 3 * .15 = .45V
If the pin is a schmitt trigger input, logic low is .2Vdd = 3 * .2 = .6V
Anything less than those two values above (i.e. your .4v) would be read as a logic low, assuming you have the ports set up correct (i.e. digital, not analog, input, not output, and so on)...
Do you know what a pulldown resistor is?





Bookmarks