17 SteppedPot(
const std::vector<float>& levelsV,
float toleranceV,
float fullScale = 1);
27 void setup(
const std::vector<float>& levelsV,
float toleranceV,
float fullScale = 1);
41 unsigned int position;
42 bool isInState(
float value,
unsigned int p);
43 std::vector<float> levels;
Connect a stepped potentiometer.
Definition: SteppedPot.h:10
void setup(const std::vector< float > &levelsV, float toleranceV, float fullScale=1)
Definition: SteppedPot.cpp:9
bool process(float value)
Definition: SteppedPot.cpp:19