MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / writePos

Method writePos

libraries/HT16K33/HT16K33.cpp:624–632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622
623
624void HT16K33::writePos(uint8_t pos, uint8_t mask)
625{
626 if (_cache && (_displayCache[pos] == mask)) return;
627 _wire->beginTransmission(_address);
628 _wire->write(pos * 2);
629 _wire->write(mask);
630 _wire->endTransmission();
631 _displayCache[pos] = _cache ? mask : HT16K33_NONE;
632}
633
634
635void HT16K33::writePos(uint8_t pos, uint8_t mask, bool point)

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected