cancel
Showing results for 
Search instead for 
Did you mean: 

How to use ADC multi channel (stm32f042g6) - Read 2 or more sensors data (in Different channel) ?

Ss.61
Associate III

* I want to know how to read 2 or more sensors data in (stm32f042g6) through ADC,

*stm32f042g6-> This is my controller has only one ADC (with 9 channels),

Eg: Suppose Channel No :1 (temp-sensor) Channel No :2 (gas-sensor) connected,

*In this scenario how i read two sensors data at a time (Suggest which method is recommended among poll,interrupt,Dmd)

Examples are recommended,

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru
2 REPLIES 2
TDK
Guru
Ss.61
Associate III

Thank you for your quick response.