Skip to main content
idrissmc
Associate III
July 8, 2019
Solved

ADC with LCD “Hello world�?

  • July 8, 2019
  • 3 replies
  • 841 views

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.
Best answer by Tesla DeLorean

Make sure the ADC module is selected in stm32f4xx_hal_conf.h

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

3 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
July 8, 2019

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
July 8, 2019

It works , thanks

idrissmc
idrissmcAuthor
Associate III
July 8, 2019

its selected! Nothing changes