I would like to read a variable voltage on ADC pin.
I suppose i must utilize a counter which detects several samples in a period.
However i need to acquire only the high value
Can someone please tell me how to build a function that makes that?
To write the code i used as example periph_adc_rom.