mirror of
https://github.com/Show-maket/IR-protocol.git
synced 2025-06-27 20:59:37 +00:00
doc
This commit is contained in:
11
IR_Encoder.h
11
IR_Encoder.h
@ -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:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user