11 static const int poll_interval = 5000;
16 elapsedMillis the_knob_timer;
ADC * adc
Definition: digigurdy-baz.ino:50
float getThreshold()
Gets the calculated velocity threshold based off the current voltage.
Definition: buzzknob.cpp:30
float getVoltage()
Gets the current voltage of the knob.
Definition: buzzknob.cpp:24
void update()
Checks knob for new reading. Self-timing: should be run every loop() cycle.
Definition: buzzknob.cpp:15