Quantcast
Viewing all articles
Browse latest Browse all 3780

Troubleshooting • Re: Pi4B: picamera2 and gpiozero compatibility?

Running your code on my Pi4B with a Pi Camera Module V2 attached worked fine with no issue, no random pictures were taken.
However, I did not have a physical button with wires attached to GPIO 23, I simulated it being pressed using raspi-gpio. So maybe your wiring/switch is dodgdy or wires are too long etc. Can you post a pic?
Simulating button press:

Code:

raspi-gpio set 23 op dhraspi-gpio set 23 op dl

Statistics: Posted by neilgl — Mon Apr 29, 2024 10:50 am



Viewing all articles
Browse latest Browse all 3780

Trending Articles