PaulS: Why are you calling atol() and Serial.print() in a loop?
Are they to be called separately or somewhere else?