This commit is contained in:
2024-01-09 16:55:02 +03:00
parent 1e93b3c9fa
commit f627d5ee21

View File

@ -7,11 +7,20 @@ class IR_Decoder;
class IR_Encoder : IR_FOX { class IR_Encoder : IR_FOX {
friend IR_Decoder; friend IR_Decoder;
public: public:
/// @brief Вывод передатчика
uint8_t ir_out; uint8_t ir_out;
/// @brief Адрес передатчика
uint16_t addrSelf; uint16_t addrSelf;
private: private:
bool prevPreambBit = true; // предыдущий бит преамбулы /// @brief предыдущий бит преамбулы
bool prevPreambBit = true;
/// @brief Подстройка несущей частоты
uint8_t carrierTune; uint8_t carrierTune;
/// @brief полупериод несущей частоты
uint8_t halfPeriod; uint8_t halfPeriod;
public: public: