How to use GPIO Raspberry Pi button with Streamlit Web App in Python?

I try to use a physical button in GPIO to click on a button in my streamlit web app but I don’t find any solution, hope someone can help me Thanks
full code

https://paste.pythondiscord.com/owasupexem.py

Hi @marcelo,

I can’t make any recommendations on the Raspberry Pi side of this, but you’re missing parentheses when you call start_listening()

Caroline

Hi @Caroline
Thanks i will check

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.