Skip to main content
idrissmc
Associate III
Jul 8, 2019 11:27 AM UTC
Solved

ADC with LCD “Hello world�?

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

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jul 8, 2019 12:03 PM UTC

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..

3 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jul 8, 2019 12:03 PM UTC

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
idrissmc
idrissmcAuthor
Associate III
Jul 8, 2019 6:52 PM UTC

It works , thanks

idrissmc
idrissmcAuthor
Associate III
Jul 8, 2019 12:39 PM UTC

its selected! Nothing changes