🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    can uart support irq?

    UIFlow
    2
    2
    2.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yaohuarun
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • m5stackM
        m5stack
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post