IR_NEC object has no attribute rxStatus

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


    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.