WiFi Kit 32 PRG Button 0

I’m using the WiFi Kit 32 (includes .96" OLED) with Mu for Python. So far so good, I’ve had some issues but have been able to get through them one by one.

I’m stuck on the PRG button which the docs say is GPIO 0. For the life of me, I can’t read that button. No matter what I do, I get back a 0. I push the button and read… get a 0. I release the button and read… get a 0. Is this how it’s supposed to work? My MicroPython code fragment is below…

(Note: GPIO Pin 0 is supposed to be the PGM button.)
pin0 = machine.Pin(0, machine.Pin.IN, machine.Pin.PULL_UP)
print(pin0.value)

I also tried machine.Pin.None which made no difference.

Any ideas? Thanks.

+1, no idea what this button does on the WiFi kit 8, either, though I saw a video of someone who claimed it work (though they wired up their own button to pin 0: https://yoursunny.com/t/2018/ESP32-WiFi-credentials-one-button/ ).

Would be great to get an update from Heltec.

hi,

%E5%9B%BE%E7%89%87

You can first try to use the development environment of arduino directly