Create a sweep function for the ADC
Context
We would like to create a mode where variables can be swept for characterization or study.
Description
Sweeping means changing the moment for triggering the ADC dynamically on the code.
Solution
This should be feasible by adding a function to the HRTimer which changes the register for triggering the measurements