Update adc.c

Added method from ADC in class exercise to read specific direction.