I honestly believe that Serial.begin(9600); must be outside for loop, please report it to your developer
They say "Yes, but it works."
They might work on fixing the code to streamline it.