samples: drivers: nucleo_h7a3zi_q: Configuring ADC sample application
I tested ADC sample on the board mentioned above 0v = 0 3.3v = 4095 Signed-off-by: Manojkumar Subramaniam <manoj@electrolance.com>
This commit is contained in:
parent
c9da36685a
commit
4c54e23377
1 changed files with 9 additions and 0 deletions
9
samples/drivers/adc/boards/nucleo_h7a3zi_q.overlay
Normal file
9
samples/drivers/adc/boards/nucleo_h7a3zi_q.overlay
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
/* Copyright (c) 2021 STMicroelectronics
|
||||||
|
SPDX-License-Identifier: Apache-2.0 */
|
||||||
|
|
||||||
|
/ {
|
||||||
|
zephyr,user {
|
||||||
|
/* adjust channel number according to pinmux in board.dts */
|
||||||
|
io-channels = <&adc1 15>;
|
||||||
|
};
|
||||||
|
};
|
Loading…
Add table
Add a link
Reference in a new issue