ESPHome  2024.12.2
Namespaces | Variables
tcl112.cpp File Reference

Go to the source code of this file.

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::tcl112
 

Variables

const uint16_t esphome::tcl112::TCL112_STATE_LENGTH = 14
 
const uint16_t esphome::tcl112::TCL112_BITS = TCL112_STATE_LENGTH * 8
 
const uint8_t esphome::tcl112::TCL112_HEAT = 1
 
const uint8_t esphome::tcl112::TCL112_DRY = 2
 
const uint8_t esphome::tcl112::TCL112_COOL = 3
 
const uint8_t esphome::tcl112::TCL112_FAN = 7
 
const uint8_t esphome::tcl112::TCL112_AUTO = 8
 
const uint8_t esphome::tcl112::TCL112_FAN_AUTO = 0
 
const uint8_t esphome::tcl112::TCL112_FAN_LOW = 2
 
const uint8_t esphome::tcl112::TCL112_FAN_MED = 3
 
const uint8_t esphome::tcl112::TCL112_FAN_HIGH = 5
 
const uint8_t esphome::tcl112::TCL112_VSWING_MASK = 0x38
 
const uint8_t esphome::tcl112::TCL112_POWER_MASK = 0x04
 
const uint8_t esphome::tcl112::TCL112_HALF_DEGREE = 0b00100000
 
const uint16_t esphome::tcl112::TCL112_HEADER_MARK = 3100
 
const uint16_t esphome::tcl112::TCL112_HEADER_SPACE = 1650
 
const uint16_t esphome::tcl112::TCL112_BIT_MARK = 500
 
const uint16_t esphome::tcl112::TCL112_ONE_SPACE = 1100
 
const uint16_t esphome::tcl112::TCL112_ZERO_SPACE = 350
 
const uint32_t esphome::tcl112::TCL112_GAP = TCL112_HEADER_SPACE