RMT led encoder - Modify bytes on the fly

Xylopyrographer
Posts: 20
Joined: Sat Mar 06, 2021 12:39 am

RMT led encoder - Modify bytes on the fly

Postby Xylopyrographer » Wed Jan 22, 2025 7:06 pm

Hi all. I'm working on some code based on the RMT Transmit Example -- LED Strip located here: https://github.com/espressif/esp-idf/tr ... /led_strip

I need to modify led_strip_encoder.c so that I can modify on the fly the byte pulled from the led_strip_pixels buffer before it is encoded and then sent further down the processing chain.

Need to do it this way so the bytes in the led_strip_pixels buffer remain as-is as the modification prior to encoding is destructive to the original byte value.

I don't have enough C or C++ knowledge to understand where in the led_strip_encoder.c code the byte is pulled from the buffer so if anyone can lend a hand would be very appreciated.


Last bumped by Xylopyrographer on Wed Jan 22, 2025 7:06 pm.

Who is online

Users browsing this forum: No registered users and 25 guests