public string Leitura(string leitura) { SerialPort porta = Conectar(); try { string cmd = ""; porta.Write(leitura); cmd = porta.ReadLine(); cmd = Convertt.ToValorS(cmd); return(cmd); } catch { return(""); } }