Please help! Due date approaching quickly

You've got orphan code at the end of loop:

    }
    //_____LCD____
    lcd.setCursor(0, 0);
    lcd.write(pAngle);
    //Serial.print(pA); Serial.print("\t");
    //Serial.print(pG); Serial.print("\t");
    Serial.println(pAngle);
}

The top brace in this snippet closes loop. Everything below it is an orphan.

1 Like