Beispiel #1
0
        /// <summary>
        /// 3.6.3 Read Data bits LowByte
        /// 0x81,
        /// This will read the current state of the first 8 pins and send back 1 byte.
        /// </summary>
        /// <returns></returns>
        public byte ReadDataBitsLowByte()
        {
            write(MpsseCommand.ReadDataBitsLowByte());
            while (inputLen == 0)
            {
                Thread.Sleep(10);
            }

            return(read(1)[0]);
        }
Beispiel #2
0
        /// <summary>
        /// 3.6.3 Read Data bits LowByte
        /// 0x81,
        /// This will read the current state of the first 8 pins and send back 1 byte.
        /// </summary>
        /// <returns></returns>
        public byte ReadDataBitsLowByte()
        {
            write(MpsseCommand.ReadDataBitsLowByte());

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