I was trying to build off of the example of Lesson 6, exercise 3 from the Intermediate course on DevAcademy.
In this example, the AN0 is sampled the amount of times set by SAADC_BUFFER_SIZE (8000).
In my application, I am trying to sample on more than 1 pin. Is it possible to do scan multiple pins with the PPI?
Ideally, I would like to monitor, AN2 and AN3. In some circumstances, I want to monitor AN2, AN3, AN5, and AN6.
I tried to modify the example as such but it reports 0bad0004
Any advice?