thank you I have solved it.

I have another problem I have a loop set up to where it sends messages out until the user presses a key.

example:

while key != 15

gosub getkey

serout PORTD.0, T1200, [X]

wend
To clarify this program sends data the first time but then waits for a user to press a key(other than 15) before sending the data again when it should send the data until the user presses a key (15).