Baud Rate doesn't match

I have a simple program which reads an analog value and sends it to the serial port. It works, but in spite of the fact that I set the serial ports baud rate to 9600, in order to correctly display the results on the Serial Port Monitor, I must set the monitor’s baud rate to 4800.

What’s up with that?

Here’s my code:

// Potentiometer Reading Program 
const int POT = 0; // Pot on analog pin 0 
int val = 0; // variable to hold the analog reading from the POT 

void setup() 
{
  Serial.begin(9600); 
}

void loop() 
{
  val = analogRead( POT); 
  Serial.println( val);
  delay(500);
}

Processor is running at 8 MHz but you are building your sketch for a processor that is running at 16 MHz. The delay time will also be wrong.

Damn you're good!