I have a program that requires an external interrupt to trigger an immediate action. I have used irq interrupts in the past with python, but it looks like this is not supported in micropython on Xbee. Are there any alternatives to have a gpio interrupt in my program?
Thank you for the response, but I am not sure I understand. The board is already running a micropython program at startup. I wanted to implement an interrupt to that running program.
Yea I figured there was no IRQ. I implemented a rising edge detector but it would not react while the system is on time.sleep() . I’ll find ways around it. Thanks !
Thanks again. It seems like this topic is beyond your scope. I was looking at interrupts as defined here Interrupts - GeeksforGeeks. I saw that there are no IRQ pins on Xbees so I will find a way around it.
I would like to give you @pedroc an update on the current status of my project. The main objective of this application is to overcome the lack of features like IRQ and async. The image below shows the circuit working using the SPI protocol. All pre-elimination tests were positive. However, the final test that really matters will be in the industrial field. I’ll be back soon with more information.