# IRremoteESP8266: src/ir_Mitsubishi.cpp File Reference

ir_Mitsubishi.cpp File Reference

Support for Mitsubishi protocols. Mitsubishi (TV) decoding added from https://github.com/z3t0/Arduino-IRremote Mitsubishi (TV) sending & Mitsubishi A/C support added by David Conran. More...

## Variables

const uint16_t | kMitsubishiTick = 30
const uint16_t | kMitsubishiBitMarkTicks = 10
const uint16_t | kMitsubishiBitMark = kMitsubishiBitMarkTicks * kMitsubishiTick
const uint16_t | kMitsubishiOneSpaceTicks = 70
const uint16_t | kMitsubishiOneSpace = kMitsubishiOneSpaceTicks * kMitsubishiTick
const uint16_t | kMitsubishiZeroSpaceTicks = 30
const uint16_t | kMitsubishiZeroSpace
const uint16_t | kMitsubishiMinCommandLengthTicks = 1786
const uint16_t | kMitsubishiMinCommandLength
const uint16_t | kMitsubishiMinGapTicks = 936
const uint16_t | kMitsubishiMinGap = kMitsubishiMinGapTicks * kMitsubishiTick
const uint16_t | kMitsubishi2HdrMark = 8400
const uint16_t | kMitsubishi2HdrSpace = kMitsubishi2HdrMark / 2
const uint16_t | kMitsubishi2BitMark = 560
const uint16_t | kMitsubishi2ZeroSpace = 520
const uint16_t | kMitsubishi2OneSpace = kMitsubishi2ZeroSpace * 3
const uint16_t | kMitsubishi2MinGap = 28500
const uint16_t | kMitsubishiAcHdrMark = 3400
const uint16_t | kMitsubishiAcHdrSpace = 1750
const uint16_t | kMitsubishiAcBitMark = 450
const uint16_t | kMitsubishiAcOneSpace = 1300
const uint16_t | kMitsubishiAcZeroSpace = 420
const uint16_t | kMitsubishiAcRptMark = 440
const uint16_t | kMitsubishiAcRptSpace = 17100
const uint8_t | kMitsubishiAcExtraTolerance = 5
const uint16_t | kMitsubishi136HdrMark = 3324
const uint16_t | kMitsubishi136HdrSpace = 1474
const uint16_t | kMitsubishi136BitMark = 467
const uint16_t | kMitsubishi136OneSpace = 1137
const uint16_t | kMitsubishi136ZeroSpace = 351
const uint32_t | kMitsubishi136Gap = kDefaultMessageGap
const uint16_t | kMitsubishi112HdrMark = 3450
const uint16_t | kMitsubishi112HdrSpace = 1696
const uint16_t | kMitsubishi112BitMark = 450
const uint16_t | kMitsubishi112OneSpace = 1250
const uint16_t | kMitsubishi112ZeroSpace = 385
const uint32_t | kMitsubishi112Gap = kDefaultMessageGap
const uint8_t | kMitsubishi112HdrMarkTolerance = 5

## Detailed Description

Support for Mitsubishi protocols. Mitsubishi (TV) decoding added from https://github.com/z3t0/Arduino-IRremote Mitsubishi (TV) sending & Mitsubishi A/C support added by David Conran.

See also
  GlobalCache's Control Tower's Mitsubishi TV data.
  https://github.com/marcosamarinho/IRremoteESP8266/blob/master/ir_Mitsubishi.cpp
  https://github.com/crankyoldgit/IRremoteESP8266/issues/441
  https://github.com/r45635/HVAC-IR-Control/blob/master/HVAC_ESP8266/HVAC_ESP8266.ino#L84
  https://github.com/crankyoldgit/IRremoteESP8266/issues/619
  https://github.com/crankyoldgit/IRremoteESP8266/issues/888
  https://github.com/crankyoldgit/IRremoteESP8266/issues/947
  https://github.com/kuchel77

## Variable Documentation

## kMitsubishi112BitMark

const uint16_t kMitsubishi112BitMark = 450

## kMitsubishi112Gap

const uint32_t kMitsubishi112Gap = kDefaultMessageGap

## kMitsubishi112HdrMark

const uint16_t kMitsubishi112HdrMark = 3450

## kMitsubishi112HdrMarkTolerance

const uint8_t kMitsubishi112HdrMarkTolerance = 5

## kMitsubishi112HdrSpace

const uint16_t kMitsubishi112HdrSpace = 1696

## kMitsubishi112OneSpace

const uint16_t kMitsubishi112OneSpace = 1250

## kMitsubishi112ZeroSpace

const uint16_t kMitsubishi112ZeroSpace = 385

## kMitsubishi136BitMark

const uint16_t kMitsubishi136BitMark = 467

## kMitsubishi136Gap

const uint32_t kMitsubishi136Gap = kDefaultMessageGap

## kMitsubishi136HdrMark

const uint16_t kMitsubishi136HdrMark = 3324

## kMitsubishi136HdrSpace

const uint16_t kMitsubishi136HdrSpace = 1474

## kMitsubishi136OneSpace

const uint16_t kMitsubishi136OneSpace = 1137

## kMitsubishi136ZeroSpace

const uint16_t kMitsubishi136ZeroSpace = 351

## kMitsubishi2BitMark

const uint16_t kMitsubishi2BitMark = 560

## kMitsubishi2HdrMark

const uint16_t kMitsubishi2HdrMark = 8400

## kMitsubishi2HdrSpace

const uint16_t kMitsubishi2HdrSpace = kMitsubishi2HdrMark / 2

## kMitsubishi2MinGap

const uint16_t kMitsubishi2MinGap = 28500

## kMitsubishi2OneSpace

const uint16_t kMitsubishi2OneSpace = kMitsubishi2ZeroSpace * 3

## kMitsubishi2ZeroSpace

const uint16_t kMitsubishi2ZeroSpace = 520

## kMitsubishiAcBitMark

const uint16_t kMitsubishiAcBitMark = 450

## kMitsubishiAcExtraTolerance

const uint8_t kMitsubishiAcExtraTolerance = 5

## kMitsubishiAcHdrMark

const uint16_t kMitsubishiAcHdrMark = 3400

## kMitsubishiAcHdrSpace

const uint16_t kMitsubishiAcHdrSpace = 1750

## kMitsubishiAcOneSpace

const uint16_t kMitsubishiAcOneSpace = 1300

## kMitsubishiAcRptMark

const uint16_t kMitsubishiAcRptMark = 440

## kMitsubishiAcRptSpace

const uint16_t kMitsubishiAcRptSpace = 17100

## kMitsubishiAcZeroSpace

const uint16_t kMitsubishiAcZeroSpace = 420

## kMitsubishiBitMark

const uint16_t kMitsubishiBitMark = kMitsubishiBitMarkTicks * kMitsubishiTick

## kMitsubishiBitMarkTicks

const uint16_t kMitsubishiBitMarkTicks = 10

## kMitsubishiMinCommandLength

const uint16_t kMitsubishiMinCommandLength

Initial value:
=
kMitsubishiMinCommandLengthTicks * kMitsubishiTick

## kMitsubishiMinCommandLengthTicks

const uint16_t kMitsubishiMinCommandLengthTicks = 1786

## kMitsubishiMinGap

const uint16_t kMitsubishiMinGap = kMitsubishiMinGapTicks * kMitsubishiTick

## kMitsubishiMinGapTicks

const uint16_t kMitsubishiMinGapTicks = 936

## kMitsubishiOneSpace

const uint16_t kMitsubishiOneSpace = kMitsubishiOneSpaceTicks * kMitsubishiTick

## kMitsubishiOneSpaceTicks

const uint16_t kMitsubishiOneSpaceTicks = 70

## kMitsubishiTick

const uint16_t kMitsubishiTick = 30

## kMitsubishiZeroSpace

const uint16_t kMitsubishiZeroSpace

Initial value:
=
kMitsubishiZeroSpaceTicks * kMitsubishiTick

## kMitsubishiZeroSpaceTicks

const uint16_t kMitsubishiZeroSpaceTicks = 30

kMitsubishiTick
const uint16_t kMitsubishiTick
Definition: ir_Mitsubishi.cpp:34
kMitsubishiMinCommandLengthTicks
const uint16_t kMitsubishiMinCommandLengthTicks
Definition: ir_Mitsubishi.cpp:42
kMitsubishiZeroSpaceTicks
const uint16_t kMitsubishiZeroSpaceTicks
Definition: ir_Mitsubishi.cpp:39