Skip to content

IRdecodeBase

詳細情報

メンバー

protocolNum

uint8_t IRdecodeBase::protocolNum

value

uint32_t IRdecodeBase::value

address

uint16_t IRdecodeBase::address

bits

uint8_t IRdecodeBase::bits

ignoreHeader

bool IRdecodeBase::ignoreHeader

IRdecodeBase()

IRdecodeBase::IRdecodeBase(void)

decodeGeneric()

bool IRdecodeBase::decodeGeneric(uint8_t expectedLength, uint16_t headMark, uint16_t headSpace, uint16_t markData, uint16_t spaceOne, uint16_t spaceZero)

引数

  • uint8_t expectedLength
  • uint16_t headMark
  • uint16_t headSpace
  • uint16_t markData
  • uint16_t spaceOne
  • uint16_t spaceZero

戻り値

bool

dumpResults()

void IRdecodeBase::dumpResults(bool verbose=true)

引数

  • bool verbose

MATCH()

bool IRdecodeBase::MATCH(int16_t val, int16_t expected)

引数

  • int16_t val
  • int16_t expected

戻り値

bool

ABS_MATCH()

bool IRdecodeBase::ABS_MATCH(int16_t val, int16_t expected, int16_t tolerance)

引数

  • int16_t val
  • int16_t expected
  • int16_t tolerance

戻り値

bool