Skip to content

Commit 4fec504

Browse files
MaureenHelmkartben
authored andcommitted
boards: shields: pmod_acl: Specify accelerometer interrupt pin
Specifies which gpio pin on the pmod header is attached to the adxl345 accelerometer interrupt. Signed-off-by: Maureen Helm <[email protected]>
1 parent a9c65f0 commit 4fec504

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

boards/shields/pmod_acl/pmod_acl.overlay

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
compatible = "adi,adxl345";
1414
reg = <0x0>;
1515
spi-max-frequency = <DT_FREQ_M(1)>;
16+
int2-gpios = <&pmod_header 4 GPIO_ACTIVE_HIGH>;
1617
status = "okay";
1718
odr = <ADXL345_DT_ODR_25>;
1819
fifo-watermark = <31>;

0 commit comments

Comments
 (0)