Exemple #1
0
        private void SendRegisters()
        {
            MemoryStream ms = new MemoryStream();

            for (int i = 0; i < 40; i++)
            {
                GlobalFunctions.WriteStream(ms, changableRegs[i]);
            }
            try
            {
                gecko.SendRegisters(ms);
                ms.Close();

                GetRegisters();
            }
            catch (EUSBGeckoException e)
            {
                exceptionHandling.HandleException(e);
            }
        }