I'm having issues with if statements. an error is coming up with "'else' without a previous 'if'" but there is an if statement before it. I've only been programming in c+ for a little while so maybe it's something really obvious.
void loop()
{
if (servo1.read() > 90);
{
digitalWrite(red, HIGH);
digitalWrite(green, LOW);
}
else
{
digitalWrite(red, LOW);
digitalWrite(green, HIGH);
}
}