using as base de adc example for the stm32f4discovery board