Problems with Serial Bus

The chip isn't receiving \n from you, so doesn't exit the while loop..