peterhinch / micropython_ir

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

/ir_rx/acquire.py "list index out of range". #10

Open water5 opened 2 years ago

water5 commented 2 years ago

I use /ir_rx/acquire.py receive several IR remote controllers via below:

from ir_rx.acquire import *
ira = IR_GET(Pin(23, Pin.IN))
ira.acquire()

Most IR remote controllers acquire success, but one of IR remote controller cause error below:

000 2428

Traceback (most recent call last): File "/lib/ir_rx/acquire.py", line 47, in decode IndexError: list index out of range Traceback (most recent call last): File "stdin", line 1, in "module" File "/lib/ir_rx/acquire.py", line 91, in acquire

peterhinch commented 2 years ago

In the docs I warn that acquire is for experimenters: one reason is that it's impossible for me to diagnose errors when they occur with a remote I don't possess. I'm sorry but I really can't figure out how to progress this one.