SHARE
TWEET

Untitled

a guest Jun 18th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SerialPort port = new SerialPort("COM7",38400,Parity.Even,8,StopBits.One);
  2.  
  3.        port.Open();
  4.        bool isopen = port.IsOpen; //me muestraque esta conectado
  5.  
  6.        byte[] iniciarScr = {0xf2,0x00,0x03,0x43, 0x30, 0x40,0x88,0x8c }
  7.        port.Write(iniciarScr, 0, iniciarScr.Length);
  8.        byte[] bufferRespuesta = new byte[256];
  9.        var bytesRead = port.Read(bufferRespuesta, 0 bufferRespuesta.Length);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top