Fix PIR input: float GPIO (no pull-down) and log raw level changes.

Internal pull-down could hold OUT low; default idle=LOW/active=HIGH and prefer 5V VCC.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-23 14:54:06 +08:00
parent a7854de87b
commit 6226f0dbc2
4 changed files with 50 additions and 28 deletions

Binary file not shown.