I finally got it to communicate but I got another problem. I am trying to do a strcmp function to match the two strings, but it keeps telling me that it doesn't match. I typed it word for word and it should work but it doesn't. I think its because of the size of the string that is being read in. The string read in from the serial port is 17 bytes whereas the exact same string I used to compare it to is 14 bytes. How can I fix this?