Şu hatayla karşılaşırsanız:
rmt_transmit_error.txt
rmt: rmt_transmit(466): loop count is not supportedESP32’de bunun nedeni, loop_count açıkça ayarlanmış bir rmt_transmit_config_t kullanmış olmanızdır.
rmt_cfg_with_loop.cpp
rmt_transmit_config_t cfg = {
.loop_count = 1,
.flags = {
.eot_level = 0,
}
};
ESP_ERROR_CHECK(rmt_transmit(/* ... */, &cfg));ancak IC’niz (örn. ESP32-D0WD-V3) donanım döngü modunu desteklemiyor.
Bunu düzeltmek kolay: .loop_count satırını yorum satırı yapın:
rmt_cfg_without_loop.cpp
rmt_transmit_config_t cfg = {
//.loop_count = 1, // Yonga desteklemediği için DEVRE DIŞI
.flags = {
.eot_level = 0,
}
};
ESP_ERROR_CHECK(rmt_transmit(/* ... */, &cfg));.loop_count‘u varsayılan değerinde bırakırsanız, her zaman .loop_count = 1 gibi davranacağını unutmayın.
Check out similar posts by category:
C/C++ ESP8266/ESP32
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow