/// <summary> /// 4.5 CPUMode Write Extended Address /// 0x93, /// 0xAddrHigh, /// 0xAddrLow, /// 0xData /// This will write 1 byte from the target device. /// </summary> /// <param name="addr"></param> /// <param name="data"></param> /// <returns></returns> public byte WriteExtendedAddress(UInt16 addr, byte data) { write(MpsseCommand.WriteExtendedAddress(addr, data)); while (inputLen == 0) { Thread.Sleep(10); } return(read(1)[0]); }
/// <summary> /// 4.5 CPUMode Write Extended Address /// 0x93, /// 0xAddrHigh, /// 0xAddrLow, /// 0xData /// This will write 1 byte from the target device. /// </summary> /// <param name="addr"></param> /// <param name="data"></param> /// <returns></returns> public byte WriteExtendedAddress(UInt16 addr, byte data) { write(MpsseCommand.WriteExtendedAddress(addr, data)); return(read(1)[0]); }