Made changes to send 10 bits from ADC