Incorporating a button to reset wifi credentials

Can someone please direct me to these examples showing a physical button that will reset the device to AP mode? Cannot find anywhere

Cheers

As the text says, it’s in the Edgent examples.
The button pin is defined in Settings.h

Pete.

@PeteKnight it’s the Board_Button_Pin right ?

Hi Pete

Thanks. I was looking at the online example browser but saw no specific example. Have since found it is pin 0 on my Wemos and works when holding 3 sec + 10 sec

@John93 Appears so :grinning:

Yeah me neither, it’s pin 0.