Adc finish

Refactored led
Finished implementation of internal adc