So is there any way to use external interrupts in flow.m5stack.com ? (using the micropython code)? I tried using the methods for micropython but irq is not an attribute for pin objects.
@lastcaress I used the code for the button pressed, but don't know if this is accurate?
I don't understand interrupts myself but I believe that if you use the button loop instead of the system loop that that is an interrupt.
Please bare with me as I'm still documenting and exploring UIFlow.
flow.m5stack.com， buttonA, B, C has been implemented using interrupts, or try:
from m5stack import m5button button = m5button.register(_BUTTON_PIN)