Cleaned serial print code