- Sat Sep 03, 2016 12:04 pm
#54386
Electroguard-
You can get interrupts several ways but to fully understand you have to consult the datasheet (48 pages).
I have successfully used the output of the chip into the ESP but you have to read the register in order to reset the interrupt output.
There are also 2 other registers noteworthy and probably useful; I called them INTFA and INTFB which are the interrupt FLAG registers - they tell you which pin caused the interrupt otherwise you can use INTCAPA and INTCAPB.
It is a great chip I have used before - getting it to live happily here with a ESP takes some bit-banging. I have been working with Mike on some tweaks for his SPI functions and if they work as planned will be of an enormous help for those of us who work in SPI which is faster than I2C and is full-duplex.
Not quite what Sumotoy has done with his libraries, but there is only so much memory the ESP can address for its OS and I think Mike is doing a great job with such little memory.
Regards.
If we knew what we were doing, it wouldn't be called research.
- Albert Einstein