Exemplo n.º 1
0
        /// <summary>
        /// 3.6.4 Read Data bits HighByte
        /// 0x83,
        /// This will read the current state of the high 8 pins and send back 1 byte.
        /// </summary>
        /// <returns></returns>
        public byte ReadDataBitsHighByte()
        {
            write(MpsseCommand.ReadDataBitsHighByte());
            while (inputLen == 0)
            {
                Thread.Sleep(10);
            }

            return(read(1)[0]);
        }
Exemplo n.º 2
0
        /// <summary>
        /// 3.6.4 Read Data bits HighByte
        /// 0x83,
        /// This will read the current state of the high 8 pins and send back 1 byte.
        /// </summary>
        /// <returns></returns>
        public byte ReadDataBitsHighByte()
        {
            write(MpsseCommand.ReadDataBitsHighByte());

            return(read(1)[0]);
        }