# IRremoteESP8266: src/ir_Sanyo.h File Reference

ir_Sanyo.h 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...

Go to the source code of this file.

## Classes

class | IRSanyoAc
| Class for handling detailed Sanyo A/C messages. More...

## Variables

const uint8_t | kSanyoAcTempByte = 1
| Index. More...
const uint8_t | kSanyoAcTempOffset = 0
| Mask 0b000xxxxx. More...
const uint8_t | kSanyoAcTempSize = 5
| Mask 0b000xxxxx. More...
const uint8_t | kSanyoAcTempMin = 16
| Celsius. More...
const uint8_t | kSanyoAcTempMax = 30
| Celsius. More...
const uint8_t | kSanyoAcTempDelta = 4
| Celsius to Native Temp difference. More...
const uint8_t | kSanyoAcSensorByte = 2
| Index. More...
const uint8_t | kSanyoAcSensorBit = 2
| Mask 0b00x00000. More...
const uint8_t | kSanyoAcBeepBit = 6
| Mask 0b0x000000. More...
const uint8_t | kSanyoAcOffHourByte = 3
| Index. More...
const uint8_t | kSanyoAcOffHourOffset = 0
| Mask 0b0000xxxx. More...
const uint8_t | kSanyoAcOffHourSize = 4
| Mask 0b0000xxxx. More...
const uint8_t | kSanyoAcHourMax = 15
| 0b1111 More...
const uint8_t | kSanyoAcModeByte = 4
| Index. More...
const uint8_t | kSanyoAcModeOffset = 4
| Mask 0b0xxx0000. More...
const uint8_t | kSanyoAcModeSize = 3
| Mask 0b0xxx0000. More...
const uint8_t | kSanyoAcHeat = 1
| 0b001 More...
const uint8_t | kSanyoAcCool = 2
| 0b010 More...
const uint8_t | kSanyoAcDry = 3
| 0b011 More...
const uint8_t | kSanyoAcAuto = 4
| 0b100 More...
const uint8_t | kSanyoAcOffTimerEnableBit = 2
| Mask 0b00000x00. More...
const uint8_t | kSanyoAcFanOffset = 0
| Mask 0b000000xx. More...
const uint8_t | kSanyoAcFanSize = 2
| Mask 0b000000xx. More...
const uint8_t | kSanyoAcFanAuto = 0
| 0b00 More...
const uint8_t | kSanyoAcFanHigh = 1
| 0b01 More...
const uint8_t | kSanyoAcFanLow = 2
| 0b10 More...
const uint8_t | kSanyoAcFanMedium = 3
| 0b11 More...
const uint8_t | kSanyoAcPowerByte = 5
| Index. More...
const uint8_t | kSanyoAcPowerOffset = 6
| Mask 0bxx000000. More...
const uint8_t | kSanyoAcPowerSize = 2
| Mask 0bxx000000. More...
const uint8_t | kSanyoAcPowerOff = 0b01
| Off. More...
const uint8_t | kSanyoAcPowerOn = 0b10
| On. More...
const uint8_t | kSanyoAcSwingVOffset = 0
| Mask 0b00000xxx. More...
const uint8_t | kSanyoAcSwingVSize = 3
| Mask 0b00000xxx. More...
const uint8_t | kSanyoAcSwingVAuto = 0
| 0b000 More...
const uint8_t | kSanyoAcSwingVLowest = 2
| 0b010 More...
const uint8_t | kSanyoAcSwingVLow = 3
| 0b011 More...
const uint8_t | kSanyoAcSwingVLowerMiddle = 4
| 0b100 More...
const uint8_t | kSanyoAcSwingVUpperMiddle = 5
| 0b101 More...
const uint8_t | kSanyoAcSwingVHigh = 6
| 0b110 More...
const uint8_t | kSanyoAcSwingVHighest = 7
| 0b111 More...
const uint8_t | kSanyoAcSleepByte = 6
| Index. More...
const uint8_t | kSanyoAcSleepBit = 3
| Mask 0b0000x000. 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

## kSanyoAcAuto

const uint8_t kSanyoAcAuto = 4

0b100

## kSanyoAcBeepBit

const uint8_t kSanyoAcBeepBit = 6

Mask 0b0x000000.

## kSanyoAcCool

const uint8_t kSanyoAcCool = 2

0b010

## kSanyoAcDry

const uint8_t kSanyoAcDry = 3

0b011

## kSanyoAcFanAuto

const uint8_t kSanyoAcFanAuto = 0

0b00

## kSanyoAcFanHigh

const uint8_t kSanyoAcFanHigh = 1

0b01

## kSanyoAcFanLow

const uint8_t kSanyoAcFanLow = 2

0b10

## kSanyoAcFanMedium

const uint8_t kSanyoAcFanMedium = 3

0b11

## kSanyoAcFanOffset

const uint8_t kSanyoAcFanOffset = 0

Mask 0b000000xx.

## kSanyoAcFanSize

const uint8_t kSanyoAcFanSize = 2

Mask 0b000000xx.

## kSanyoAcHeat

const uint8_t kSanyoAcHeat = 1

0b001

## kSanyoAcHourMax

const uint8_t kSanyoAcHourMax = 15

0b1111

## kSanyoAcModeByte

const uint8_t kSanyoAcModeByte = 4

Index.

## kSanyoAcModeOffset

const uint8_t kSanyoAcModeOffset = 4

Mask 0b0xxx0000.

## kSanyoAcModeSize

const uint8_t kSanyoAcModeSize = 3

Mask 0b0xxx0000.

## kSanyoAcOffHourByte

const uint8_t kSanyoAcOffHourByte = 3

Index.

## kSanyoAcOffHourOffset

const uint8_t kSanyoAcOffHourOffset = 0

Mask 0b0000xxxx.

## kSanyoAcOffHourSize

const uint8_t kSanyoAcOffHourSize = 4

Mask 0b0000xxxx.

## kSanyoAcOffTimerEnableBit

const uint8_t kSanyoAcOffTimerEnableBit = 2

Mask 0b00000x00.

## kSanyoAcPowerByte

const uint8_t kSanyoAcPowerByte = 5

Index.

## kSanyoAcPowerOff

const uint8_t kSanyoAcPowerOff = 0b01

Off.

## kSanyoAcPowerOffset

const uint8_t kSanyoAcPowerOffset = 6

Mask 0bxx000000.

## kSanyoAcPowerOn

const uint8_t kSanyoAcPowerOn = 0b10

On.

## kSanyoAcPowerSize

const uint8_t kSanyoAcPowerSize = 2

Mask 0bxx000000.

## kSanyoAcSensorBit

const uint8_t kSanyoAcSensorBit = 2

Mask 0b00x00000.

## kSanyoAcSensorByte

const uint8_t kSanyoAcSensorByte = 2

Index.

## kSanyoAcSleepBit

const uint8_t kSanyoAcSleepBit = 3

Mask 0b0000x000.

## kSanyoAcSleepByte

const uint8_t kSanyoAcSleepByte = 6

Index.

## kSanyoAcSwingVAuto

const uint8_t kSanyoAcSwingVAuto = 0

0b000

## kSanyoAcSwingVHigh

const uint8_t kSanyoAcSwingVHigh = 6

0b110

## kSanyoAcSwingVHighest

const uint8_t kSanyoAcSwingVHighest = 7

0b111

## kSanyoAcSwingVLow

const uint8_t kSanyoAcSwingVLow = 3

0b011

## kSanyoAcSwingVLowerMiddle

const uint8_t kSanyoAcSwingVLowerMiddle = 4

0b100

## kSanyoAcSwingVLowest

const uint8_t kSanyoAcSwingVLowest = 2

0b010

## kSanyoAcSwingVOffset

const uint8_t kSanyoAcSwingVOffset = 0

Mask 0b00000xxx.

## kSanyoAcSwingVSize

const uint8_t kSanyoAcSwingVSize = 3

Mask 0b00000xxx.

## kSanyoAcSwingVUpperMiddle

const uint8_t kSanyoAcSwingVUpperMiddle = 5

0b101

## kSanyoAcTempByte

const uint8_t kSanyoAcTempByte = 1

Index.

## kSanyoAcTempDelta

const uint8_t kSanyoAcTempDelta = 4

Celsius to Native Temp difference.

## kSanyoAcTempMax

const uint8_t kSanyoAcTempMax = 30

Celsius.

## kSanyoAcTempMin

const uint8_t kSanyoAcTempMin = 16

Celsius.

## kSanyoAcTempOffset

const uint8_t kSanyoAcTempOffset = 0

Mask 0b000xxxxx.

## kSanyoAcTempSize

const uint8_t kSanyoAcTempSize = 5

Mask 0b000xxxxx.