Skip to main content
Graduate
August 7, 2024
Solved

Read ADC from 2 joystick

  • August 7, 2024
  • 1 reply
  • 1024 views

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!

 
    This topic has been closed for replies.
    Best answer by Saket_Om

    Hello @ThienNguyen0301 ,

     

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

    Please refer to the following example for more details:

     

     

    1 reply

    Saket_OmAnswer
    Technical Moderator
    August 7, 2024

    Hello @ThienNguyen0301 ,

     

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

    Please refer to the following example for more details: