# IRremoteESP8266: src/ir_NEC.h File Reference

ir_NEC.h File Reference

Support for NEC (Renesas) protocols. NEC originally added from https://github.com/shirriff/Arduino-IRremote/. More...

Go to the source code of this file.

## Variables

const uint16_t | kNecTick = 560
const uint16_t | kNecHdrMarkTicks = 16
const uint16_t | kNecHdrMark = kNecHdrMarkTicks * kNecTick
const uint16_t | kNecHdrSpaceTicks = 8
const uint16_t | kNecHdrSpace = kNecHdrSpaceTicks * kNecTick
const uint16_t | kNecBitMarkTicks = 1
const uint16_t | kNecBitMark = kNecBitMarkTicks * kNecTick
const uint16_t | kNecOneSpaceTicks = 3
const uint16_t | kNecOneSpace = kNecOneSpaceTicks * kNecTick
const uint16_t | kNecZeroSpaceTicks = 1
const uint16_t | kNecZeroSpace = kNecZeroSpaceTicks * kNecTick
const uint16_t | kNecRptSpaceTicks = 4
const uint16_t | kNecRptSpace = kNecRptSpaceTicks * kNecTick
const uint16_t | kNecRptLength = 4
const uint16_t | kNecMinCommandLengthTicks = 193
const uint32_t | kNecMinCommandLength = kNecMinCommandLengthTicks * kNecTick
const uint32_t | kNecMinGap
const uint16_t | kNecMinGapTicks
const uint32_t | kAlokaPower = 0xFF609F
const uint32_t | kAlokaLedWhite = 0xFF906F
const uint32_t | kAlokaLedGreen = 0xFF9867
const uint32_t | kAlokaLedBlue = 0xFFD827
const uint32_t | kAlokaLedPinkRed = 0xFF8877
const uint32_t | kAlokaLedRed = 0xFFA857
const uint32_t | kAlokaLedLightGreen = 0xFFE817
const uint32_t | kAlokaLedMidBlue = 0xFF48B7
const uint32_t | kAlokaLedPink = 0xFF6897
const uint32_t | kAlokaLedOrange = 0xFFB24D
const uint32_t | kAlokaLedYellow = 0xFF00FF
const uint32_t | kAlokaNightFade = 0xFF50AF
const uint32_t | kAlokaNightTimer = 0xFF7887
const uint32_t | kAlokaLedRainbow = 0xFF708F
const uint32_t | kAlokaLedTreeGrow = 0xFF58A7

## Detailed Description

Support for NEC (Renesas) protocols. NEC originally added from https://github.com/shirriff/Arduino-IRremote/.

See also
  http://www.sbprojects.com/knowledge/ir/nec.php

## Variable Documentation

## kAlokaLedBlue

const uint32_t kAlokaLedBlue = 0xFFD827

## kAlokaLedGreen

const uint32_t kAlokaLedGreen = 0xFF9867

## kAlokaLedLightGreen

const uint32_t kAlokaLedLightGreen = 0xFFE817

## kAlokaLedMidBlue

const uint32_t kAlokaLedMidBlue = 0xFF48B7

## kAlokaLedOrange

const uint32_t kAlokaLedOrange = 0xFFB24D

## kAlokaLedPink

const uint32_t kAlokaLedPink = 0xFF6897

## kAlokaLedPinkRed

const uint32_t kAlokaLedPinkRed = 0xFF8877

## kAlokaLedRainbow

const uint32_t kAlokaLedRainbow = 0xFF708F

## kAlokaLedRed

const uint32_t kAlokaLedRed = 0xFFA857

## kAlokaLedTreeGrow

const uint32_t kAlokaLedTreeGrow = 0xFF58A7

## kAlokaLedWhite

const uint32_t kAlokaLedWhite = 0xFF906F

## kAlokaLedYellow

const uint32_t kAlokaLedYellow = 0xFF00FF

## kAlokaNightFade

const uint32_t kAlokaNightFade = 0xFF50AF

## kAlokaNightTimer

const uint32_t kAlokaNightTimer = 0xFF7887

## kAlokaPower

const uint32_t kAlokaPower = 0xFF609F

## kNecBitMark

const uint16_t kNecBitMark = kNecBitMarkTicks * kNecTick

## kNecBitMarkTicks

const uint16_t kNecBitMarkTicks = 1

## kNecHdrMark

const uint16_t kNecHdrMark = kNecHdrMarkTicks * kNecTick

## kNecHdrMarkTicks

const uint16_t kNecHdrMarkTicks = 16

## kNecHdrSpace

const uint16_t kNecHdrSpace = kNecHdrSpaceTicks * kNecTick

## kNecHdrSpaceTicks

const uint16_t kNecHdrSpaceTicks = 8

## kNecMinCommandLength

const uint32_t kNecMinCommandLength = kNecMinCommandLengthTicks * kNecTick

## kNecMinCommandLengthTicks

const uint16_t kNecMinCommandLengthTicks = 193

## kNecMinGap

const uint32_t kNecMinGap

Initial value:
=
kNecMinCommandLength -
(kNecHdrMark + kNecHdrSpace + kNECBits * (kNecBitMark + kNecOneSpace) +
kNecBitMark)

## kNecMinGapTicks

const uint16_t kNecMinGapTicks

Initial value:
=
kNecMinCommandLengthTicks -
(kNecHdrMarkTicks + kNecHdrSpaceTicks +
kNECBits * (kNecBitMarkTicks + kNecOneSpaceTicks) + kNecBitMarkTicks)

## kNecOneSpace

const uint16_t kNecOneSpace = kNecOneSpaceTicks * kNecTick

## kNecOneSpaceTicks

const uint16_t kNecOneSpaceTicks = 3

## kNecRptLength

const uint16_t kNecRptLength = 4

## kNecRptSpace

const uint16_t kNecRptSpace = kNecRptSpaceTicks * kNecTick

## kNecRptSpaceTicks

const uint16_t kNecRptSpaceTicks = 4

## kNecTick

const uint16_t kNecTick = 560

## kNecZeroSpace

const uint16_t kNecZeroSpace = kNecZeroSpaceTicks * kNecTick

## kNecZeroSpaceTicks

const uint16_t kNecZeroSpaceTicks = 1

kNecBitMarkTicks
const uint16_t kNecBitMarkTicks
Definition: ir_NEC.h:30
kNecHdrSpace
const uint16_t kNecHdrSpace
Definition: ir_NEC.h:29
kNecBitMark
const uint16_t kNecBitMark
Definition: ir_NEC.h:31
kNecMinCommandLength
const uint32_t kNecMinCommandLength
Definition: ir_NEC.h:40
kNecOneSpace
const uint16_t kNecOneSpace
Definition: ir_NEC.h:33
kNecMinCommandLengthTicks
const uint16_t kNecMinCommandLengthTicks
Definition: ir_NEC.h:39
kNecOneSpaceTicks
const uint16_t kNecOneSpaceTicks
Definition: ir_NEC.h:32
kNecHdrMarkTicks
const uint16_t kNecHdrMarkTicks
Definition: ir_NEC.h:26
kNECBits
const uint16_t kNECBits
Definition: IRremoteESP8266.h:1022
kNecHdrMark
const uint16_t kNecHdrMark
Definition: ir_NEC.h:27
kNecHdrSpaceTicks
const uint16_t kNecHdrSpaceTicks
Definition: ir_NEC.h:28