Search found 2 matches

by tedhenry100
Wed Jun 26, 2019 4:03 am
Forum: General Discussion
Topic: RMT data buffer and race condition
Replies: 2
Views: 3826

Re: RMT data buffer and race condition

I've stopped using the Arduino wrappers for the RMT functionality. I've switched to rmt_write_sample and can set the last parameter, wait_tx_done, to true. rmt_write_sample is nice as a gigantic led_data array does not need to be created. I exceeded the limit and the led_data array was so large it w...
by tedhenry100
Sat Jun 22, 2019 5:57 pm
Forum: General Discussion
Topic: RMT data buffer and race condition
Replies: 2
Views: 3826

RMT data buffer and race condition

I'm following the code in the example to control some RGB LED pixels. https://github.com/espressif/arduino-esp32/blob/master/libraries/ESP32/examples/RMT/RMTWriteNeoPixel/RMTWriteNeoPixel.ino I have a global buffer that I fill with data to send out the pixels. #define NR_OF_LEDS 8*4 #define NR_OF_AL...