Exemplo n.º 1
0
 public async Task SendAsync(byte[] data)
 {
     await _topPort.SendAsync(data);
 }
Exemplo n.º 2
0
 private async void Form1_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     await parsedPort.SendAsync(new byte[] { 0x01, 0x03, 0x10, 0x02, 0x00, 0x04, 0xE1, 0x09 });
 }