rjbatista / tm1638-library

Automatically exported from code.google.com/p/tm1638-library
142 stars 76 forks source link

Read buttons via IRQ? #51

Closed mickeyl closed 1 year ago

mickeyl commented 1 year ago

Thanks for this great library. Among all those on the internet, it was the first one which immediately worked for me on an ESP32C6.

Since all examples are using polling to scan the button state, I wonder whether it's possible to be notified via IRQ when the button state changes or is it just not designed for that?

maxint-rd commented 1 year ago

The TM1638 has no interrupt pin, so it's indeed not designed to be used as such.

mickeyl commented 1 year ago

I was expecting that, thanks for clarifying.