Sorry not trying to confuse, if polling works that's fine I'm sure. Just so you know the option.
No apologies required! :) This project has already brought me closer than ever to "bare metal" than I've really gone before (like, looking - even from the distance of a free library that I didn't have to write - at things like hardware addresses), so it is all new, all fun, all confusing, and all very much appreciated.
I also find myself into deeper functions - more complex thinking - than I'm used to, but I welcome the challenge fully. So, your suggestion helps me learn and do new things. How amazing. And you have drawn my attention to options I've certainly overlooked. I was accidentally pretending the IRQ pin wasn't even there. ;)
© Espruino, powered by microcosm.
Report a problem