I got 2 servos in hopes of attaching them to my thermostats and having them turn the knobs but, i don't feel like changing the variables and re uploading the code to my arduino uno. How would I be able to send a serial signal my computer and set that to a var on the arduino witch will turn the servo?
failed try:
#include <Servo.h>
Servo servo;
int servoSerial;
void setup(){
Serial.begin(9600);
servo.attach(9);
}
void loop(){
servoSerial = Serial.read()
servo.writeMicroseconds (servoSerial);
}