|
Forum Index : Microcontroller and PC projects : bitbang ws2812 interferes with IR receive
| Author | Message | ||||
| k2backhoe Regular Member Joined: 04/12/2021 Location: United StatesPosts: 47 |
I haven't poured through the manual yet, that's my next step, so if the answer is obvious, just give me a page number. I have a program that does a LOT of bitbanging data to long strings of ws2812 panels. I tried to run the IR decoder as shown in page 31 (manual 5.07.03). I get random wrong stuff (mostly 0's) for the key codes. I turn off the bitbanging and it works perfectly. Do I have to disable the IR interrupts until I pause the ws2812 transfers? Alternate between one and the other? It's late and I'll try more tomorrow. Any help is appreciated. |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 8298 |
Bitbang on the WS2812 is very timing critical, I believe. It's quite possible that interrupts are being disabled automatically during a string update. That would mess with the IR reader - or anything else that uses interrupts. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |