If I connect D5 to normally GND, then the ESP8266 will detect many interrupt, and
ESP8266 can not continue to run the other script program.
However, If I connect D5 to VCC via pull-up resistor, then when I change the D5 to GND, then
I will get many interrupt, and ESP8266 to busy accepting interrupt from the setWatch..
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I use D5 and D4 of ESP8266 to detect pin status using setWatch.
setWatch(function updateDIN1() {
// ...
}, D5, {repeat:true, edge:'both', debounce:100});
If I connect D5 to normally GND, then the ESP8266 will detect many interrupt, and
ESP8266 can not continue to run the other script program.
However, If I connect D5 to VCC via pull-up resistor, then when I change the D5 to GND, then
I will get many interrupt, and ESP8266 to busy accepting interrupt from the setWatch..
Is there anyone have this kind of problem ?
Regards,
Maman