Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I'm trying to use the example2.h code from the MODDMA library to sample an ADC at 100Hz for 15 sec. After the first sample, I need to progress to the next on the buffer and delete the previous one. My code is below, and the interrupts work, the sampling works, but I can't progress through the buffer for the next sample. I think it's either a logic error, or a command like nextLLI.