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

Method raw

src/fl/sensors/potentiometer.h:45–45  ·  view source on GitHub ↗

Get raw ADC value (0-1023 for 10-bit, 0-4095 for 12-bit ADC)

Source from the content-addressed store, hash-verified

43
44 // Get raw ADC value (0-1023 for 10-bit, 0-4095 for 12-bit ADC)
45 u16 raw() const { return mCurrentValue; }
46
47 // Get normalized float value (0.0f - 1.0f) based on calibration range
48 // Maps mMinValue -> 0.0f and mMaxValue -> 1.0f

Callers 2

string.cpp.hppFile · 0.45
strstream.cpp.hppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected