Esp8266 Pin Numbers Arduino Ide, Interrupts to detect a change in a GPIO state and instantly trigger a function.