Im trying to clear the buffer after each loop using
while (Serial.available() > 0) { Serial.read(); }