made working ADC read over serial code