ESPHome  2024.10.2
ir_sender_esphome.h
Go to the documentation of this file.
1 #pragma once
2 
3 #ifdef USE_ARDUINO
4 
6 #include <IRSender.h> // arduino-heatpump library
7 
8 namespace esphome {
9 namespace heatpumpir {
10 
11 class IRSenderESPHome : public IRSender {
12  public:
13  IRSenderESPHome(remote_base::RemoteTransmitterBase *transmitter) : IRSender(0), transmit_(transmitter->transmit()){};
14  void setFrequency(int frequency) override; // NOLINT(readability-identifier-naming)
15  void space(int space_length) override;
16  void mark(int mark_length) override;
17 
18  protected:
20 };
21 
22 } // namespace heatpumpir
23 } // namespace esphome
24 
25 #endif
void setFrequency(int frequency) override
void space(int space_length) override
remote_base::RemoteTransmitterBase::TransmitCall transmit_
IRSenderESPHome(remote_base::RemoteTransmitterBase *transmitter)
uint16_le_t frequency
Definition: bl0942.h:72
void mark(int mark_length) override
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7