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

Python • Re: Problem with button.value

$
0
0
Maybe your circuit and code do not match with each other.
Thanks for the tip, it solved the problem.

DigitalInputDevice can be connected to 3V3 power and GPIO pin, Button have to be connected to Ground and GPIO pin.
The circuit must match the code.

Statistics: Posted by Mugol — Sun May 05, 2024 1:52 pm



Viewing all articles
Browse latest Browse all 5452

Trending Articles