shusaku suda - 2011-12-22

TBytes

  SetLength(FCommand, 10);
  Command[0] := $00;
  Command[1] := $00;
  Command[2] := $FF;
  Command[3] := $03;
  Command[4] := $FD;
  Command[5] := $00;
  Command[6] := $FF;
  Command[7] := $FF;
  Command[8] := $02;
  Command[9] := $00;
  ComPort.Write(Command, 10);

0.00003045  Project1.exe    IRP_MJ_WRITE    Serial0 SUCCESS Length 10: 78 52 4C 01 10 69 51 01 00 00

array of Byte

  B[0] := $00;
  B[1] := $00;
  B[2] := $FF;
  B[3] := $03;
  B[4] := $FD;
  B[5] := $00;
  B[6] := $FF;
  B[7] := $FF;
  B[8] := $02;
  B[9] := $00;
  ComPort.Write(B, 10);

0.00236085  Project1.exe    IRP_MJ_WRITE    Serial0 SUCCESS Length 10: 00 00 FF 03 FD 00 FF FF 02 00