Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5361

Interfacing (DSI, CSI, I2C, etc.) • Re: gpio-poweroff / gpio-shutdown

$
0
0

Code:

dtoverlay=gpio-poweroff,gpiopin=22, active_low="y"
This is wrong in two respects - use "on" for the active low value, and remove the space:

Code:

dtoverlay=gpio-poweroff,gpiopin=22,active_low=on
Also, it is recommended to use a GPIO with a default pull that corresponds to the inactive state. GPIOs 9-27 pull low by default - GPiOs 0-8 pull high.

Statistics: Posted by PhilE — Wed Feb 07, 2024 7:03 am



Viewing all articles
Browse latest Browse all 5361

Trending Articles