Arduino Passing Variables Between Functions Python Programming