Write Function In Arduino