Serial Monitor Broken?

I just wired up a new project, some simple push-buttons to my uno. I tried testing one with some very simple code:

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

void loop()
{    
 Serial.write(analogRead(0));
  
}

Upon opening the serial monitor, I get a spewing of random ascii characters. I've tried unplugging the uno from the usb, resetting it, redownloading the code, and resetting my pc. I'm pretty sure I haven't shorted anything, and I haven't put current anywhere it shouldn't go. What could be the cause of this?

Have you tried setting the baud rate to 9600 in Serial Monitor?

Yes.

void loop()
{    
  Serial.[glow]println[/glow](analogRead(0));
}

Ah! How stupid of me. ;D Thanks very much!

Ah! How stupid of me.

Bear in mind that I missed it too so ... Go easy on the name calling. ;)

Thanks very much!

You are welcome.