can enter charging mode

chkbit(PORT,PIN) will return a number greater than 1 for TRUE sometimes.
Could be incorrect arithmetic!