8#if defined(USE_ESP32) && ESP_IDF_VERSION_MAJOR >= 5
9#include <driver/rmt_tx.h>
13namespace remote_transmitter {
23#if defined(USE_ESP32) && ESP_IDF_VERSION_MAJOR < 5
32 void setup()
override;
41#if defined(USE_ESP32) && ESP_IDF_VERSION_MAJOR >= 5
51 void send_internal(uint32_t send_times, uint32_t send_wait)
override;
52#if defined(USE_ESP8266) || defined(USE_LIBRETINY)
53 void calculate_on_off_time_(uint32_t carrier_frequency, uint32_t *on_time_period, uint32_t *off_time_period);
55 void mark_(uint32_t on_time, uint32_t off_time, uint32_t usec);
57 void space_(uint32_t usec);
68#if ESP_IDF_VERSION_MAJOR >= 5
RemoteRMTChannel(uint8_t mem_block_num=1)
RemoteTransmitterBase(InternalGPIOPin *pin)
void send_internal(uint32_t send_times, uint32_t send_wait) override
Trigger * get_transmit_trigger() const
void calculate_on_off_time_(uint32_t carrier_frequency, uint32_t *on_time_period, uint32_t *off_time_period)
RemoteTransmitterComponent(InternalGPIOPin *pin, uint8_t mem_block_num=1)
float get_setup_priority() const override
void mark_(uint32_t on_time, uint32_t off_time, uint32_t usec)
uint32_t current_carrier_frequency_
void set_carrier_duty_percent(uint8_t carrier_duty_percent)
std::string error_string_
RemoteTransmitterComponent(InternalGPIOPin *pin, rmt_channel_t channel, uint8_t mem_block_num=1)
Trigger * get_complete_trigger() const
void set_eot_level(bool eot_level)
Trigger * complete_trigger_
void space_(uint32_t usec)
RemoteTransmitterComponent(InternalGPIOPin *pin)
rmt_channel_handle_t channel_
std::vector< rmt_symbol_word_t > rmt_temp_
rmt_encoder_handle_t encoder_
Trigger * transmit_trigger_
void await_target_time_()
void digital_write(bool value)
void set_with_dma(bool with_dma)
uint8_t carrier_duty_percent_
void dump_config() override
std::vector< rmt_item32_t > rmt_temp_
const float DATA
For components that import data from directly connected sensors like DHT.
Providing packet encoding functions for exchanging data with a remote host.