IR_NEC object has no attribute rxStatus



  • 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.



  • 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