peterhinch / micropython_ir

Nonblocking device drivers to receive from IR remotes and for IR "blaster" apps.
MIT License
240 stars 51 forks source link

NEC missing decode member #26

Closed Develeon64 closed 1 year ago

Develeon64 commented 1 year ago

I just downloaded your lib to try to control some things on my Raspberry Pi Pico, but my IDE complains about the __init__.py is missing self.decode on line 46. What did I do wrong?

peterhinch commented 1 year ago

I suspect that you haven't created the right directory structure on the Pico. You should have a directory ir_rx in your flash filesystem containing __init__.py and nec.py and test.pyas a minimum. You should then be able to run

from ir_rx.test import test

to check your hardware.