AnsweredAssumed Answered

LPC1549 LPCxpresso Board read variable voltage on ADC pin

Question asked by Luigi Giunti on Jan 4, 2019
Latest reply on Jan 15, 2019 by ZhangJennie

Hello all,

 

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.

 

 

 

Thanks.

Outcomes