fixed the array range in the arduino code that passed bad data to the controls