Quote Originally Posted by gtvmarty View Post
Thanx for that, but isn't that doing the same as my original code???
Doesn't it flow down into the next label (GetData) and execute thsoe commands as previously?).
No, I have it reading the serial once not twice. I was thinking in your example you were sending 23. But after rereading you are sending 2 and then 3. So you want to read the serial twice. Sorry.

Try adding a time out to the serin command, if no serial data comes in after a certain amount of time the code will go to the display routine to light the LEDs up. Then go take a quick look for some serial data.