Fixed arduino initialization