Search found 1 match
- Wed Oct 13, 2021 6:03 am
- Forum: General Discussion and Questions
- Topic: Problem with interrupt callback being called all the time without button being pressed
- Replies: 12
- Views: 8528
Re: Problem with interrupt callback being called all the time without button being pressed
I had the exact same problem, same hardware. I've tried to fiddle with its electronics, no luck with passives. I could solve the problem polling the button although, like so: lastState = button.value() while True: if button.value() == 0 and lastState == 1: toggle_power() lastState = button.value() i...