Mesure voltage on R1, that voltage goes to pic. U=R*I, R=250 Ohm, I=20mA, U=5V. So check your circuit and current...