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

    IR_NEC object has no attribute rxStatus

    Units
    2
    2
    1.5k
    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.
    • L
      leo-ninja-turtle
      last edited by

      Hi there,
      I have an M5GO, pretty simple I am testing the IR module like so

      0_1683384877466_25d89409-e7b0-4493-9e4c-d4d5fddb419e-image.png

      When I run, I get this red error:

      'IR_NEC' object has no attribute 'rxStatus'.

      I don't know what else to debug.

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

        Hello @leo-ninja-turtle

        the IR unit has two modes: NEC and GPIO. By default the IR unit is added in NEC mode, however the block ir_0 state is part of the GPIO mode - hence the error.

        Try switching the mode to GPIO by clicking on the IR unit and then use the Mode drop-down menu.

        Thanks
        Felix

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

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