Setting Serial Data, Parity and Stop bits.

Hey drspectro,

Thank you !!!!!!!!!!!!!!!!

I'm posting very simple code here for anyone else who hits this problem. You don't need any other library, just the code below.

This is working built using Arduino 16 talking to hyper-terminal on Windows XP.

byte high = 0;

void setup()
{
  Serial.begin(9600); 
  // 2 Stop-bits please!
  UCSR0C = UCSR0C | B00001000;
  pinMode(13, OUTPUT);
}

void loop()
{
  if (high == 0)
  {
    digitalWrite(13, HIGH);
    high = 1;
  }
  else
  {
    digitalWrite(13, LOW);
    high = 0;
  }
  if (high == 0)
  {
    Serial.print("HELLO"); // The text
  }
  else
  {
    Serial.print("WORLD"); // The text
  }
  delay(500);
}