I encounter strange GPIO behavior on my RPI2. I use a PIR module and activity is detected when there isn't actually any (quite annoying for a motion controlled light source). An LED flickers when a IR emitter (connected to a different pin, of course) sends out pulses. I already switched the LED pins without improvement.
What can I do to get to the core of the problem?