Why doesn't my GPIO pin stay high below 200 Hz in my frequency counter code? - EdgeBench