What exacly esp_hal::rmt::Channel.receive()
do?
#2903
-
Hello, 1- Because ESP32 RMT is a general pupose one, how can I config the Any NEC IR related examples are appriciated. Thank you very much. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Thanks for pointing out the lack of documentation regarding the RMT driver. Until now most people are (ab)using the peripheral for other uses than its original purpose (most popular is using it to drive addressable LEDs). Maybe looking at this ESP-IDF example might help: https://github.com/espressif/esp-idf/tree/master/examples/peripherals/rmt/ir_nec_transceiver While the API is considerably different both should do and support the same level of functionality. If our driver is lacking something that is by accident and should be added. For general information about the peripheral the TRM chapter and ESP-IDF's documentation might be helpful:
|
Beta Was this translation helpful? Give feedback.
I don't really understand the part about C and ESP-IDF t.b.h.
You could calculate carrier_high and carrier_low and set it in RxChannelConfig