def write(tag, protocol, lock=false)
      tmp = lock ? 1 : 0
	  Klass.write(@handle, tag,  Phidgets::FFI::RFIDTagProtocol[protocol], tmp)
	  true
	end
def write(tag, protocol, lock=false)
      tmp = lock ? 1 : 0
	  Klass.write(@handle, tag,  Phidgets::FFI::RFIDTagProtocol[protocol], tmp)
	  true
	end
Writes to a tag.

 @param [String] tag Tag data to write. See product manual for formatting.
 @param [Phidgets::FFI::RFIDTagProtocol] protocol Tag Protocol to use.
 @param [Boolean] lock Lock the tag from further writes
 @return [Boolean] returns true or raises an error