voltage and current measuring program for pi, using adc_pi