MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / setIrPower

Method setIrPower

Devices/unphone/Source/UnPhoneFeatures.cpp:260–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260bool UnPhoneFeatures::setIrPower(bool on) const {
261 assert(ioExpander != nullptr);
262 return gpio_set_level(pin::IR_LEDS, on ? 1U : 0U) == ESP_OK;
263}
264
265bool UnPhoneFeatures::setVibePower(bool on) const {
266 assert(ioExpander != nullptr);

Callers 1

unPhonePowerOnFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected