mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-08 22:42:40 +00:00
This sample shows how to use the ADC API. Depending on the support of sequential reads in the driver, 1 or 2 channels are read and printed. A devicetree overlay is necessary to specify the used ADC channel(s). Signed-off-by: Martin Jäger <martin@libre.solar>
2 lines
13 B
Plaintext
2 lines
13 B
Plaintext
CONFIG_ADC=y
|