This short video is describing how to set interrupts, and avoid the possible mistakes in it. If you have any question, or any part is confusing, please leave a comment, and I would be happy to answer.
In this code I'm setting GPIO-13, you can change it to any GPIO pin that you like,but there is a limitation for it. GPIO6-GPIO11 are typically used to interface with the flash memory ICs on most esp8266 modules, so these pins should not generally be used.
Code for setting interrupts:
http://www.vargha.us/index.php?id=lea...
My website offering free online tools: https://www.TreeOfTools.com
Смотрите видео ESP8266 - Setting Interrupts for Pins онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Vargha Hokmran 19 Август 2016. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 7,147 раз и оно понравилось 27 посетителям.