public void updateFICSymbol(FICSymbols vfdsymbol, bool visible) { if (FICIconStatus[(int)vfdsymbol] != visible) { int i; // FIC Spectra Symbol Hid.OutputReport myOutputReport = new Hid.OutputReport(); // reset USB write buffer byte[] WriteBuffer = new byte[65]; for (i = 0; i < 65; i++) { WriteBuffer[i] = 0; } WriteBuffer[1] = 0x85; WriteBuffer[2] = 0x02; WriteBuffer[3] = 0x01; WriteBuffer[4] = (byte)vfdsymbol; if (visible) { WriteBuffer[5] = 0x01; } else { WriteBuffer[5] = 0x00; } myOutputReport.Write(WriteBuffer, _HIDHandle); FICIconStatus[(int)vfdsymbol] = visible; } }