18 elapsedMillis vib_knob_timer;
void disable()
Disabled this object. update() will not respond if the object is disabled.
Definition: vibknob.cpp:54
int getVibrato()
Report the current vibrato value, calculated based off the current voltage.
Definition: vibknob.cpp:36
int getVoltage()
Reports the current pin voltage.
Definition: vibknob.cpp:30
void enable()
Sets the enable flag for this object.
Definition: vibknob.cpp:49
void update()
Sample the voltage pin and set the appropriate amount of vibrato on the melody strings.
Definition: vibknob.cpp:17
const float PEDAL_MAX_V
The max voltage reported by the accessory pedal.
Definition: config.h:91
ADC * adc
Definition: digigurdy-baz.ino:50