Theres another problem im having too. Its on a completely different circuit but using the same PIC and i wonder if it might be related. Im using portB.3 to detect a zero-crossing on AC. This pin has a pulldown resistor but always seems to be 1. Even if i completely disconnect the zero-crossing part so the pin is grounded by a 100K resistor and not connected to anything else it still says its constantly high. Just to make sure ive touched a screwdriver over it to completely short it to ground and it still shows as 1
Bookmarks