# IRremoteESP8266: src/ir_Sanyo.cpp File Reference

ir_Sanyo.cpp File Reference

Support for Sanyo protocols. Sanyo LC7461 support originally by marcosamarinho Sanyo SA 8650B originally added from https://github.com/shirriff/Arduino-IRremote/. More...

## Variables

const uint16_t | kSanyoSa8650bHdrMark = 3500
const uint16_t | kSanyoSa8650bHdrSpace = 950
const uint16_t | kSanyoSa8650bOneMark = 2400
const uint16_t | kSanyoSa8650bZeroMark = 700
const uint16_t | kSanyoSa8650bDoubleSpaceUsecs = 800
const uint16_t | kSanyoSa8650bRptLength = 45000
const uint16_t | kSanyoLc7461AddressMask = (1 << kSanyoLC7461AddressBits) - 1
const uint16_t | kSanyoLc7461CommandMask = (1 << kSanyoLC7461CommandBits) - 1
const uint16_t | kSanyoLc7461HdrMark = 9000
const uint16_t | kSanyoLc7461HdrSpace = 4500
const uint16_t | kSanyoLc7461BitMark = 560
const uint16_t | kSanyoLc7461OneSpace = 1690
const uint16_t | kSanyoLc7461ZeroSpace = 560
const uint32_t | kSanyoLc7461MinCommandLength = 108000
const uint16_t | kSanyoLc7461MinGap
const uint16_t | kSanyoAcHdrMark = 8500
| uSeconds More...
const uint16_t | kSanyoAcHdrSpace = 4200
| uSeconds More...
const uint16_t | kSanyoAcBitMark = 500
| uSeconds More...
const uint16_t | kSanyoAcOneSpace = 1600
| uSeconds More...
const uint16_t | kSanyoAcZeroSpace = 550
| uSeconds More...
const uint32_t | kSanyoAcGap = kDefaultMessageGap
| uSeconds (Guess only) More...
const uint16_t | kSanyoAcFreq = 38000
| Hz. (Guess only) More...

## Detailed Description

Support for Sanyo protocols. Sanyo LC7461 support originally by marcosamarinho Sanyo SA 8650B originally added from https://github.com/shirriff/Arduino-IRremote/.

See also
  https://github.com/z3t0/Arduino-IRremote/blob/master/ir_Sanyo.cpp
  http://pdf.datasheetcatalog.com/datasheet/sanyo/LC7461.pdf
  https://github.com/marcosamarinho/IRremoteESP8266/blob/master/ir_Sanyo.cpp
  http://slydiman.narod.ru/scr/kb/sanyo.htm
  https://github.com/crankyoldgit/IRremoteESP8266/issues/1211
  https://docs.google.com/spreadsheets/d/1dYfLsnYvpjV-SgO8pdinpfuBIpSzm8Q1R5SabrLeskw/edit?usp=sharing

## Variable Documentation

## kSanyoAcBitMark

const uint16_t kSanyoAcBitMark = 500

uSeconds

## kSanyoAcFreq

const uint16_t kSanyoAcFreq = 38000

Hz. (Guess only)

## kSanyoAcGap

const uint32_t kSanyoAcGap = kDefaultMessageGap

uSeconds (Guess only)

## kSanyoAcHdrMark

const uint16_t kSanyoAcHdrMark = 8500

uSeconds

## kSanyoAcHdrSpace

const uint16_t kSanyoAcHdrSpace = 4200

uSeconds

## kSanyoAcOneSpace

const uint16_t kSanyoAcOneSpace = 1600

uSeconds

## kSanyoAcZeroSpace

const uint16_t kSanyoAcZeroSpace = 550

uSeconds

## kSanyoLc7461AddressMask

const uint16_t kSanyoLc7461AddressMask = (1 << kSanyoLC7461AddressBits) - 1

## kSanyoLc7461BitMark

const uint16_t kSanyoLc7461BitMark = 560

## kSanyoLc7461CommandMask

const uint16_t kSanyoLc7461CommandMask = (1 << kSanyoLC7461CommandBits) - 1

## kSanyoLc7461HdrMark

const uint16_t kSanyoLc7461HdrMark = 9000

## kSanyoLc7461HdrSpace

const uint16_t kSanyoLc7461HdrSpace = 4500

## kSanyoLc7461MinCommandLength

const uint32_t kSanyoLc7461MinCommandLength = 108000

## kSanyoLc7461MinGap

const uint16_t kSanyoLc7461MinGap

Initial value:
=
kSanyoLc7461MinCommandLength -
(kSanyoLc7461HdrMark + kSanyoLc7461HdrSpace +
kSanyoLC7461Bits * (kSanyoLc7461BitMark +
(kSanyoLc7461OneSpace + kSanyoLc7461ZeroSpace) / 2) +
kSanyoLc7461BitMark)

## kSanyoLc7461OneSpace

const uint16_t kSanyoLc7461OneSpace = 1690

## kSanyoLc7461ZeroSpace

const uint16_t kSanyoLc7461ZeroSpace = 560

## kSanyoSa8650bDoubleSpaceUsecs

const uint16_t kSanyoSa8650bDoubleSpaceUsecs = 800

## kSanyoSa8650bHdrMark

const uint16_t kSanyoSa8650bHdrMark = 3500

## kSanyoSa8650bHdrSpace

const uint16_t kSanyoSa8650bHdrSpace = 950

## kSanyoSa8650bOneMark

const uint16_t kSanyoSa8650bOneMark = 2400

## kSanyoSa8650bRptLength

const uint16_t kSanyoSa8650bRptLength = 45000

## kSanyoSa8650bZeroMark

const uint16_t kSanyoSa8650bZeroMark = 700

kSanyoLc7461HdrMark
const uint16_t kSanyoLc7461HdrMark
Definition: ir_Sanyo.cpp:47
kSanyoLc7461MinCommandLength
const uint32_t kSanyoLc7461MinCommandLength
Definition: ir_Sanyo.cpp:52
kSanyoLC7461Bits
const uint16_t kSanyoLC7461Bits
Definition: IRremoteESP8266.h:1054
kSanyoLc7461HdrSpace
const uint16_t kSanyoLc7461HdrSpace
Definition: ir_Sanyo.cpp:48
kSanyoLc7461BitMark
const uint16_t kSanyoLc7461BitMark
Definition: ir_Sanyo.cpp:49
kSanyoLc7461ZeroSpace
const uint16_t kSanyoLc7461ZeroSpace
Definition: ir_Sanyo.cpp:51
kSanyoLc7461OneSpace
const uint16_t kSanyoLc7461OneSpace
Definition: ir_Sanyo.cpp:50