cancel
Showing results for 
Search instead for 
Did you mean: 

Read ADC from 2 joystick

ThienNguyen0301
Associate

I want to read ADC values from 2 joystick. My aim is design a controller RC. I use stm32f103 and set up ADC1 with channel 0,1,2,3. I used interrupt but it read only one channel. 
Can you help me how to read 4 channel?

Thank you!

 
1 REPLY 1
Saket_Om
ST Employee

Hello @ThienNguyen0301 ,

 

To read from multiple channels, you need to configure your ADC to perform multi-channel conversion.

Please refer to the following links for more details:

 

If your question is answered, please close this topic by clicking "Accept as Solution".

Thanks
Omar