added ADC calculation script