Hello, I am working on a project with ESP32-CAM AI THINKER for classifying three objects. I am trying to use an interrupt: pressing a button connected to a pull-up resistor to trigger inference, but it does not allow me to do so. I have read that it is not possible to use an interrupt because when the camera is initialized, there is already another interrupt. Is it possible to solve this problem?
1 Like
I think there is one possible solution, To use a different GPIO pin for the button or handle the button press in the main loop without relying on interrupts. Additionally, consider using a debounce logic in your code to manage the button press effectively.
Hope this helps!