ADC module fixed

The ADC state machine has been fixed. Now it begin with the scheduler
and do the ADC conversions whit interrupts.