arduino project code for portrait installation