(Based on msp430 microcontroller ADS1115 program