I couldn't find a proper answer anywhere on internet.
I want to use the FLASH button as input in the setup() function and do not use the loop() with deepsleep mode (this part comes later).
I tried demos wherein the button events are sometimes failed to be captured. How can I make it 100% sure to get detected as soon as I press reset or along with reset? Because there is a mismatch in the time when reset is clicked and the flash button press gets detected.