The issue I have right now is that the arduino uno programming software is asking me to put a comma or semicolon (sketch_apr04b:16: error: expected ',' or ';' before 'void') before void and I dont know why and when I do it tells me the same answer.
Here is my code
#include <Servo.h>;
Servo servo;
void setup () {
servo.attach(9);
servo.write(0);
Serial.begin(9600);
}
int seconds = millis()/1000;
int degs = 0;
int time = 0;
int runs = 0
void loop() {
// put your main code here, to run repeatedly:
seconds = millis();
while(time <= 28) {
Serial.write(seconds);
degs = map(time, 0, 29, 0, 179);
servo.write(degs);
delay(1000);
}
runs = runs + 1;
time = seconds * (runs*29)
servo.write(0);
time = 0;
}