cancel
Showing results for 
Search instead for 
Did you mean: 

On our STM8L151K4 can't get the A2D to read an input on ADC1_IN0(PA6). Need the correct code to start & run the ADC.

artchace
Visitor
 
1 REPLY 1
Peter BENSCH
ST Employee

Welcome @artchace, to the community!

If you haven't already done so, I would recommend taking a look at the SPL examples in STSW-STM8016. The software package has a folder Project\STM8L15x_StdPeriph_Examples where you will find several examples of how to use the ADC.

Hope that helps?

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.