SerialEvent() wont work

    if (inChar == '\n') {
      stringComplete = true;
    }

Is is possible that whatever code is sending text is not sending the expected newline character?