I want an example program that I can acctually run on my stm8s003f3 that uses the continuous mode for ADC.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-03 07:17 AM
I can't find any example programs for continuous mode. Well I found one but it doesn't even have a makefile to run it on my microcontroller.
Labels:
- Labels:
-
ADC
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-03 10:17 AM
Are you aware of the SPL for STM8, i.e. the Standard Peripheral Library?
There you will find many interesting examples / projects, e.g. Find ADC2_ContinuousConversion.
Good luck!
/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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-03 01:46 PM
I ended up just putting my adc on a timer. I could never get the continuous from SPL to run. It didn't come with a makefile.
Get Outlook for Android<>