Browse
STMicroelectronics Community
FAQs
Sign In
Product forums
STM32 MCUs
STM32 MCUs Products
STM32 MCUs Boards and hardware tools
STM32 MCUs Software development tools
STM32 MCUs Embedded software
STM32 MCUs TouchGFX and GUI
STM32 MCUs Motor control
STM32 MCUs Security
STM32 MCUs Wireless
STM32 MPUs
STM32 MPUs Products
STM32 MPUs Boards and hardware tools
STM32 MPUs Embedded software and solutions
STM32 MPUs Software development tools
MEMS and sensors
MEMS (sensors)
Imaging (sensors)
Automotive and Transportation
Automotive MCUs
AutoDevKit Ecosystem
GNSS positioning
Edge AI
Interface and connectivity ICs
Power management
ST25 NFC/RFID tags and readers
STM8 MCUs
Others: hardware and software
Analog and audio
Knowledge base
STM32 MCUs
STM32 MPUs
MEMS and sensors
Analog and audio
EMI filtering and signal conditioning
Interface and connectivity ICs
Power management
Quality & reliability
Academy
About
Community guidelines
Feedback forum
Community blog
Developer news
All community
This category
This board
Knowledge base
Users
Products
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
STMicroelectronics Community
Product forums
STM8 MCUs
Example Code for Simple GPIO and ADC
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
Example Code for Simple GPIO and ADC
ghan
Associate
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Email to a Friend
Report Inappropriate Content
2016-03-23
12:12 PM
Posted on March 23, 2016 at 20:12
Hi, I am new to using STM8.
I just bought an evaluation board. I am hoping if there are example codes out there for setting up GPIO and ADC.
Let's say I want to read the potentiometer value using the ADC
All forum topics
Previous Topic
Next Topic
0 REPLIES
0
Reply
Related Content
STM32MP157 and boot2Qt
in
STM32 MPUs Embedded software and solutions
2024-12-20
Antenna selection and layout for the Teseo-Liv3r GPS
in
GNSS positioning
2024-12-19
How to access the System Bootloader on Nucleo F411RE using software RESET?
in
STM32 MCUs Products
2024-12-19
Error analysing LSTM model using X-Cube-AI:INTERNAL ERROR : Unkonwn dimensions : CH
in
Edge AI
2024-12-19
STWLC38 GPIO Functions
in
Power management
2024-12-19