Good morning!
In my project I need to read 6 different analog inputs continuously and update the respective values of 6 variables associated with the ADCs. Could you help me carry out this task using the Arduino IDE and the STM32F103C8T6 board?
Multichannel (scan) continuous conversion mode ARDUINO IDE
Re: Multichannel (scan) continuous conversion mode ARDUINO IDE
you can use the plain old reading all the different pins.
anything more complicated requires direct ADC calls, libraries e.g. HAL etc.
Code: Select all
analogRead(pin);
anything more complicated requires direct ADC calls, libraries e.g. HAL etc.
Re: Multichannel (scan) continuous conversion mode ARDUINO IDE
Thanks!
I tested this method (analogRead()) and it worked, the problem is that it seems to be a little slow for my application. I need you to read more quickly and continuously. I will research more about the terms you suggested to me.
I tested this method (analogRead()) and it worked, the problem is that it seems to be a little slow for my application. I need you to read more quickly and continuously. I will research more about the terms you suggested to me.