#include <Servo.h>
Servo ope;
int potensio = A1;
int stress;
void setup() {
Serial.begin(9600);
ope.attach(11);
}
void loop() {
stress = analogRead(potensio);
Serial.println(stress);
stress = map(stress, 0, 1023, 0, 180);
ope.write(stress);
delay(1000);
}