I'd like to know if there is a way to acquire analog inputs only from certain channel in the task, in which more input channels are created.
Here is what I'd like to do.
1. User selects Analog input channels to be read.
2. Create a task with selected analog input channels (let's say ADC0, 1, 2)
3. Start a task
4. Read only from ADC1 (for example) in the loop
I may read from all the channels and discard unwanted data.
I'm wondering if there is more efficient way.
Thank you in advance.