Use Serial1.available() instead of serialevent1()