while(Serial.available() == 0);
int turnVal = Serial.read() - '0';
int potVal = Serial.read() - '0';
This is a bigger problem, here. You have no serial input characters available, but you are trying to read two of them ? That's just plain wrong.