-->
Page 1 of 1

attachInterrupt

PostPosted: Tue Oct 31, 2017 9:48 am
by Erick Silva
Hi, i need to know how many pins can i use the interrupt function

Re: attachInterrupt

PostPosted: Wed Nov 01, 2017 12:15 pm
by rudy
Interrupts may be attached to any GPIO pin, except GPIO16.


http://esp8266.github.io/Arduino/versio ... rence.html

Re: attachInterrupt

PostPosted: Wed Nov 01, 2017 6:04 pm
by rudy
philbowles wrote:
rudy wrote:
Interrupts may be attached to any GPIO pin, except GPIO16.


http://esp8266.github.io/Arduino/versio ... rence.html


They can't be attached to pin 12 on an ESP-01.... :D

They can! And it will be ready to be triggered someday. Until then it will just need to be patient.