public string AnalogRead(int pin) { string message = mMessageGenerator.AnalogRead(pin); this.Write(message); try { return(mmInputStreamReader.ReadLine()); } catch (Exception e) { Debug.WriteLine(e.Message); return(null); } }
public string AnalogRead(int pin) { string message = mMessageGenerator.AnalogRead(pin); this.Write(message); try { return(mmInputStreamReader.ReadLine()); } catch (Exception e) { Debug.WriteLine(e.Message); return(null); } }