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

    uiflow 2.0 with coreS3 and RS232 Module / UART

    UiFlow 2.0
    2
    3
    831
    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.
    • trackmaxxT
      trackmaxx
      last edited by

      I try to connect to the RS232 Port of RS232 Module 13.2 with DB9 Male Connector. But always fail with error message "ValueError: invalid pin".
      I use
      uart2 = UART(2, baudrate=9600, bits=8, parity=None, stop=1, tx=17, rx=16, rts=-1, cts=-1, txbuf=256, rxbuf=256, timeout=0, timeout_char=0, invert=0, flow=0)
      same with rx/tx 13/14.
      Any idea what's wrong and how I can communicate with the port?
      Thanks, Mike

      1 Reply Last reply Reply Quote 0
      • felmueF
        felmue
        last edited by felmue

        Hello @trackmaxx

        have a look at this thread.

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        trackmaxxT 1 Reply Last reply Reply Quote 0
        • trackmaxxT
          trackmaxx @felmue
          last edited by

          @felmue thanks a lot! Now it works. Just to know for others with the same problem : The uiflow2 uart command doesn't work.

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