Change Global Variable In Function Arduino