Enable serial receive, add critical length check before sdWrite.