Beispiel #1
0
        /// <summary>
        /// 4.2 CPUMode Read Short Address
        /// 0x90,
        /// 0xAddrLow
        /// This will read 1 byte from the target device.
        /// </summary>
        /// <param name="addrLow"></param>
        /// <returns></returns>
        public byte ReadShortAddress(byte addrLow)
        {
            write(MpsseCommand.ReadShortAddress(addrLow));

            while (inputLen == 0)
            {
                Thread.Sleep(10);
            }

            return(read(1)[0]);
        }
Beispiel #2
0
        /// <summary>
        /// 4.2 CPUMode Read Short Address
        /// 0x90,
        /// 0xAddrLow
        /// This will read 1 byte from the target device.
        /// </summary>
        /// <param name="addrLow"></param>
        /// <returns></returns>
        public byte ReadShortAddress(byte addrLow)
        {
            write(MpsseCommand.ReadShortAddress(addrLow));

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