added Arduino control functions