Arduino Passing Variables Between Functions Python