Potentiometer
A potentiometer returns a dynamic value based on the rotation.
Information
Connection scheme
Scheme made with Fritzing.
Functions
Await Input
Await Input State
Awaits a analog value.
void function_0_Potentiometer(){
int value = analogRead(pin_0_potentiometer);
function_0_Potentiometer();
}
int value = analogRead(pin_0_potentiometer);
void function_0_Potentiometer(){
int value = analogRead(pin_0_potentiometer);
state = 1;
}
Last modified April 12, 2022: updated code snippets (e7162de)