Constructor was still GPIO5 despite physical move to GPIO4. The pedal was reading the wrong (unconnected) pin, so no ADC changes.
Constructor was still GPIO5 despite physical move to GPIO4. The pedal was reading the wrong (unconnected) pin, so no ADC changes.