I would like to have the option to reset the stored wifi credentials by resetting an ESP module multiple times within a certain time. For example after resetting 7 times in 10 seconds, the credentials are removed.
I guess that must be possible using the flash memory to store the time of reset and the number of times it has been reset the last 10 seconds.
Does anyone know if there is a (comparable) example of this or can someone help me to setup such a sketch (using arduino)?