can uart support irq?



  • I run following code in m5stack fire board

    from machine import UART
    uart1 = UART(1, tx=1, rx=3)
    uart1.init(115200, bits=8, parity=None, stop=1)
    def UART_ISR(t):
    uart1.irq(handler=UART_ISR)

    bu report error message:
    'UART' object has no attribut 'irq'.
    does uiflow support irq?


  • M5Stack

    Just like the mpy official document said. "Availability: Wipy". maybe future we will support this function, so pls give us some time.

    0_1624444173211_445f337c-fd4a-4f60-af15-495ba0b9608e-image.png