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

Method getRangeMax

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

Get the maximum raw value (maps to 1.0 in normalized)

Source from the content-addressed store, hash-verified

101
102 // Get the maximum raw value (maps to 1.0 in normalized)
103 u16 getRangeMax() const { return mMaxValue; }
104
105 // Calibrate to current position as minimum (0.0)
106 void calibrateMin() { mMinValue = mCurrentValue; }

Callers 1

FL_TEST_FILEFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected