so here is my code
int red = 9;
void setup() {
pinMode(9, OUTPUT);
}
void loop() {
if(red==1); {
delay(75);
digitalWrite(red, 0);
} else {
delay(75);
digitalWrite(red, 1);
}
digitalWrite(red, 1);
}
and my board is arduino uno r3 and my port is COM3
so when I verify/compile it it gives me an error
'else' without a previous if
please tell me if I did something wrong with either my code or if something is just odd