Serial.println returns two - three letters of string then gives up

I am getting back to Arduino and Programming after a year away. Working on simple tutorial to clear the cobwebs. I am using a MacBook and Uno combo that I have used to accomplish this simple task many times before.

In this case my MacBook serial monitor will Print "Ent" and then nothing. If i put a small piece of text into the send line and hit the send button I see that the RX light on the Uno flashes but the program as far as I can tell has halted? I have tried several different work arounds, and have looked at my serial port selection and can not find anything that makes a difference. If the RX LED activates when I send, the port should be working correct?

Sorry for such a trivial matter, but don't

Put your code in code tags. Never post screen captures, they are unreadable.

Mark

Thanks for the help! I also attached the code. But here is a "Code Tag":

int outPin=7;
void setup()
{
  pinMode(outPin,OUTPUT);
  Serial.begin(9600);
  Serial.println("Enter 1 or 0");
}
void loop()
{
 if(Serial.available()>0)
 {
  char ch=Serial.read();
  if (ch=='1')
  {
    digitalWrite(outPin,HIGH);
  }
  else if (ch=='0')
  {
    digitalWrite(outPin,LOW);
  }
 }
}

Found my own error! Never Mind, but thanks certainly for the forum etiquette lesson!

As far as I can see it should work - at least to print the whole message that is sent from setup().

What happens if you press the reset button on the Arduino? It should repeat the message.

...R

Found my own error! Never Mind, but thanks certainly for the forum etiquette lesson!

No problems. It's also nice to reveal what the problem was, in case someone else has it one day.