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

Method read

src/fl/sensors/potentiometer.cpp.hpp:22–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20PotentiometerLowLevel::~PotentiometerLowLevel() FL_NOEXCEPT {}
21
22u16 PotentiometerLowLevel::read() {
23 return fl::analogRead(mPin);
24}
25
26// ============================================================================
27// Potentiometer Implementation

Callers 2

PotentiometerMethod · 0.45
onEndFrameMethod · 0.45

Calls 1

analogReadFunction · 0.50

Tested by

no test coverage detected