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 Machine learning & AI
STM32 MCUs TouchGFX and GUI
STM32 MCUs Motor control
STM32 MCUs Security
STM32 MCUs Wireless
STM32 MCUs Other solutions
STM32 MPUs
STM32 MPUs products
STM32 MPUs Boards and hardware tools
STM32 MPUs Software development tools
STM32 MPUs Embedded software
STM32 MPUs Solutions
MEMS and sensors
MEMS (sensors)
Imaging (sensors)
Automotive & Transportation
Microcontrollers
GNSS positioning
AutoDevKit Ecosystem
Analog and audio
Interface and connectivity ICs
Power management
ST25 NFC/RFID tags and readers
STM8 MCUs
Other: hardware
Other: software
Knowledge base
STM32 MCUs
STM32 MPUs
MEMS and sensors
Analog and audio
EMI filtering and signal conditioning
Interface and connectivity ICs
Power management
ST25 NFC/RFID tags and readers
Quality & reliability
Academy
About
Community guidelines
Feedback forum
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
STM32F750Z8 Custom Board-TFTLCD shows partial screen
in
STM32 MCUs TouchGFX and GUI
2024-04-20
External IRQ on PB15
in
STM32CubeMX (MCUs)
2024-04-19
8 pulse pin outputs on the STM32F407 (Drive GPIO with basic timer?)
in
STM32 MCUs products
2024-04-19
Creating a LoraWAN server on an stm32 chip
in
STM32 MCUs Wireless
2024-04-19
lens for receiver side of vl53l4cd
in
Imaging (sensors)
2024-04-19