Search found 20 matches

by Xylopyrographer
Tue Jan 28, 2025 5:06 am
Forum: ESP-IDF
Topic: RMT led encoder - Modify bytes on the fly
Replies: 5
Views: 2732

Re: RMT led encoder - Modify bytes on the fly

Edit: Got it figured! Short answer; the complete definition of the callback configuration structure is: typedef struct { rmt_encode_simple_cb_t callback; /*!< Callback to call for encoding data into RMT items */ void *arg; /*!< Opaque user-supplied argument for callback */ size_t min_chunk_size; /*!...
by Xylopyrographer
Sat Jan 25, 2025 5:02 am
Forum: ESP-IDF
Topic: RMT led encoder - Modify bytes on the fly
Replies: 5
Views: 2732

Re: RMT led encoder - Modify bytes on the fly

Well all righty then! I will certainly give that a shot. Very much appreciated.
by Xylopyrographer
Fri Jan 24, 2025 6:39 am
Forum: ESP-IDF
Topic: RMT led encoder - Modify bytes on the fly
Replies: 5
Views: 2732

Re: RMT led encoder - Modify bytes on the fly

Thanks for the reply. Yes, I did check out the simple encoder though it seems that with that, options like DMA, setting the GPIO pin as open drain, etc. cannot be used as it doesn't take a user defined `rmt_tx_channel_config_t` structure. Mind, I can't find where a default structure (if any) is defi...
by Xylopyrographer
Wed Jan 22, 2025 7:06 pm
Forum: ESP32 Arduino
Topic: RMT led encoder - Modify bytes on the fly
Replies: 0
Views: 3098

RMT led encoder - Modify bytes on the fly

Hi all. I'm working on some code based on the RMT Transmit Example -- LED Strip located here: https://github.com/espressif/esp-idf/tree/release/v5.1/examples/peripherals/rmt/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 buffe...
by Xylopyrographer
Wed Jan 22, 2025 7:05 pm
Forum: ESP-IDF
Topic: RMT led encoder - Modify bytes on the fly
Replies: 5
Views: 2732

RMT led encoder - Modify bytes on the fly

Hi all. I'm working on some code based on the RMT Transmit Example -- LED Strip located here: https://github.com/espressif/esp-idf/tree/release/v5.1/examples/peripherals/rmt/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 buffe...
by Xylopyrographer
Thu Apr 25, 2024 6:09 am
Forum: ESP32 Arduino
Topic: HTTPClient Raw Mode
Replies: 1
Views: 1149

HTTPClient Raw Mode

Is there a way when using the HTTPClient library to dump to the serial monitor the: actual data sent to a host via a GET raw data received in response to a GET before it is handled by the HTTPClient library? Setting the Core Debug Level to "Verbose" kind of does the second item but it is sent during...
by Xylopyrographer
Tue Jan 23, 2024 6:12 pm
Forum: Hardware
Topic: ESP32 Dev Board LED Connection?
Replies: 5
Views: 20006

Re: ESP32 Dev Board LED Connection?

When powered up, the ESP sends a bunch of information out to the USB port via UART0, which is connected to the Serial/USB bridge chip. On this particular board, the designers chose to put an LED on the TXD line of UART0, I suppose to let the user know when the ESP32 is sending data. This was confirm...
by Xylopyrographer
Sat May 27, 2023 3:00 pm
Forum: ESP-IDF
Topic: RMT Periperhal rmt translator set context?
Replies: 2
Views: 1756

Re: RMT Periperhal rmt translator set context?

Thank-you for the awesome answer. Very much appreciated. Have a great one :) .
by Xylopyrographer
Fri May 26, 2023 10:52 pm
Forum: ESP-IDF
Topic: RMT Periperhal rmt translator set context?
Replies: 2
Views: 1756

RMT Periperhal rmt translator set context?

Can anyone explain, for the RMT peripheral, what the function:

rmt_translator_set_context()

does?
  1. It is needed to transmit data using the RMT controller?
  2. How does it interact with the other RMT functions and structures?
Many thanks.
by Xylopyrographer
Fri Jan 28, 2022 6:17 pm
Forum: ESP-IDF
Topic: SPI CS Lines - Which GPIO Pins to Use?
Replies: 0
Views: 2836

SPI CS Lines - Which GPIO Pins to Use?

Seeking clarification on which GPIO pins to use for CS lines when multiple devices are connected to an SPI bus using the SPI Master driver. From this page in the docs: https://docs.espressif.com/projects/esp-idf/en/v3.3.6/api-reference/peripherals/spi_master.html#_CPPv417spi_host_device_t It states:...