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

Python • Re: Runtime error waiting_for_edge GPIO

$
0
0
You certainly have a better handle on it than I do. I agree with your targeted code line.
But I have no idea how to diagnose this out or even what it should be.

Apparently, it's looking for a key that does not exist someplace (key error) but what? And where?

Oh BTW... after studying your earlier code you posten for a test platform, you had a DEF that checked for pre-pressed buttons.
You need to know the power button is "latching" like an ink-pen. Where as the reset is momentary.
Probably not wise to implement the script while the power button is unpressed as it may trigger a shutdown event.

Statistics: Posted by LPSeg13 — Mon Jul 29, 2024 11:27 am



Viewing all articles
Browse latest Browse all 5011

Trending Articles