From c907c14783f63476da5ab84963eb13e460511eac Mon Sep 17 00:00:00 2001 From: aiminick Date: Tue, 13 Jul 2021 18:02:39 +0800 Subject: [PATCH] Create power_switch.md --- docs/notes/hardware/power_switch.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 docs/notes/hardware/power_switch.md diff --git a/docs/notes/hardware/power_switch.md b/docs/notes/hardware/power_switch.md new file mode 100644 index 0000000..407b0a7 --- /dev/null +++ b/docs/notes/hardware/power_switch.md @@ -0,0 +1,18 @@ +## GOIO PIN + +|PIN|NAME| +|----|----| +|5|GPIO3(SCL)| +|6|GND| + +## Config + +**/boot/config.txt** + +add: + +``` +dtoverlay=gpio-shutdown +``` + +## PI GPIO