8 years, 4 months ago.

Analog in sampling frequency

how can i change the sampling frequency for an analog input, i am using p20 for my input, i cant see any setting for the sampling frequency in the helloworld program that sample dc can anyone help?

1 Answer

8 years, 4 months ago.

You may be able to change to clock divider in the Mbed library here:

https://developer.mbed.org/users/mbed_official/code/mbed-dev/file/dfc7461ac1b6/targets/hal/TARGET_NXP/TARGET_LPC176X/analogin_api.c