MiDeRP.SerialInterface.SendByte C# (CSharp) 메소드

SendByte() 공개 메소드

public SendByte ( Byte data ) : void
data Byte
리턴 void
        public void SendByte(Byte data)
        {
            byte[] buf = {data};
            serialPort.Write(buf,0,1);
            System.Diagnostics.Debug.WriteLine("Serial byte sent: {0:X}", data);
        }