Help for this page

Select Code to Download


  1. or download this
    byte[] commandBuffer;
    int cmdBytes;
    ...
    commandBuffer[1] = (byte) ((cmdBytes >> 16) & 0x000000ff);
    commandBuffer[2] = (byte) ((cmdBytes >> 8 ) & 0x000000ff);
    commandBuffer[3] = (byte) (cmdBytes & 0x000000ff);
    
  2. or download this
     
    commandBuffer[47] = 0xfc;