MCPcopy Create free account
hub / github.com/FastLED/FastLED / high

Method high

src/fl/sensors/digital_pin.cpp.hpp:41–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40
41 bool high() {
42 return fl::digitalRead(mPin) == fl::PinValue::High;
43 }
44
45 void write(bool value) {
46 fl::digitalWrite(mPin, value ? fl::PinValue::High : fl::PinValue::Low);

Callers

nothing calls this directly

Calls 1

digitalReadFunction · 0.50

Tested by

no test coverage detected