🤖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

    Scheduled Pinned Locked Moved Units
    2 Posts 2 Posters 2.2k Views
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post