python script which interfaces with the control board connected to GPIO ports