As for Arduino, it takes someone to write such a library for MicroPython. I don't know what does exist for MicroPython.I was hoping for something like Ken Shiriff's IRremote library which allows the sending of multiple protocols easily on the same hardware pin.
If I were doing it I would create a low-level driver which simply uses how long the times should be for sequential on and off periods, have higher level modules which creates a list of times for that to use.
If the low-level driver is modulating the IR LED itself; rather than having an on time, it would probably be better implemented as how many pulses of a particular frequency pulse to emit.
Something like that shouldn't be too hard and would probably make for a good learning project when it comes to PIO and perhaps DMA. I can however appreciate not wanting to do any of that, just wanting to use what someone else has provided to do what you actually want to do.
Alternatively there would be mileage in implementing something which is compatible with LIRC or similar databases and stand on their shoulders when it comes to supporting a variety of protocols. Again though, someone would need to do that.
Statistics: Posted by hippy — Tue Mar 26, 2024 2:11 pm