cancel
Showing results for 
Search instead for 
Did you mean: 

ADC with LCD “Hello world�?

idrissmc
Associate II

Hello ST Community,

in the folder STM32Cube/Repositery/STM32Cube_FW_F4_V1.24.1/Projects/STM32F413H-Discovery/Applications/STemWin/STemWin_HelloWorld.

I debug it into the card, it works but now i wanna use the ADC to convert some analog data and display the result! How can I do to add the ADC? I tried to declare the ADC1 function but it doesn’t work.

thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Make sure the ADC module is selected in stm32f4xx_hal_conf.h

Find directories with ADC examples in and merge in initialization code, etc.​

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..

View solution in original post

3 REPLIES 3

Make sure the ADC module is selected in stm32f4xx_hal_conf.h

Find directories with ADC examples in and merge in initialization code, etc.​

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
idrissmc
Associate II

its selected! Nothing changes

It works , thanks