You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: arduinoIOPort.m
    path of file: ./repos/opticka/communication
    
    the code of the file until where you have to start completion: % ========================================================================
classdef arduinoIOPort < handle
%> @class arduinoIOPort
%> @brief arduinoIOPort - modified legacy ardino interface using PTB IOPort
%> interface for serial communication and adding a new timedTTL function for
%> asynchronous TTL output (i.e. returns immediately to MATLAB even if the
%> TTL is for a long time).
%
%> This class defines an "arduino" object, MATLAB Legacy toolbox.
%> Giampiero Campa, Aug 2013, Copyright 2013 The MathWorks, Inc.
%
%% Modified for use with PTB
%> This version uses IOPort from PTB, as it is faster:
%>   https://psychtoolbox.discourse.group/t/serial-port-interface-code-a-performance-comparison/3781
%
%> Also added a timedTTL function, which performs the TTL timing on the arduino
%> and allows PTB to continue its display loop without interupption.
%> Requires a compatible arduino sketch: 
%>   https://github.co
    
function for
%> asynchronous TTL output (i.e. returns immediately to MATLAB even if the
%> TTL is for a long time).
%
%> This class defines an "arduino" object, MATLAB Legacy toolbox.
%> Giampiero Campa, Aug 2013, Copyright 2013 The MathWorks, Inc.
%
%% Modified for use with PTB
%> This version uses IOPort from PTB, as it is faster:
%>   https://psychtoolbox.discourse.group/t/serial-port-interface-code-a-performance-comparison/3781
%
%> Also added a timedTTL function, which performs the TTL timing on the arduino
%> and allows PTB to continue its display loop without interupption.
%> Requires a compatible arduino sketch: 
%>   https://github.com/iandol/opticka/blob/master/communication/arduino/adio/adio.ino
%>
%> We also define a startPin and endPin so we can use it with other boards
%> like the Xiao which has a different pin number...
% ========================================================================
	
	properties (SetAccess=public,GetAccess=public)
		port   % The assigned port
		end