Thanks for the tip, it solved the problem.Maybe your circuit and code do not match with each other.
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