code: def create_from_response_pdu(resp_pdu):
          
          write_single_coil = WriteSingleCoil()
  
          address, value = struct.unpack('>HH', resp_pdu[1:5])
          value = 1 if value == 0xFF00 else value
  
          write_single_coil.address = address
          write_single_coil.data = value
  
          return write_single_coil
docs: Create instance from response PDU.
  
          :param resp_pdu: Byte array with request PDU.
          :return: Instance of :class:`WriteSingleCoil`.