Comments on: Raspberry Pi: Read Digital Inputs with Python (Buttons and Other Peripherals) https://randomnerdtutorials.com/raspberry-pi-digital-inputs-python/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Wed, 19 Jul 2023 11:03:35 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Sara Santos https://randomnerdtutorials.com/raspberry-pi-digital-inputs-python/#comment-845109 Tue, 04 Jul 2023 16:37:14 +0000 https://randomnerdtutorials.com/?p=129551#comment-845109 In reply to Eric Carter.

Thanks for the advice.
Regards,
Sara

]]>
By: Eric Carter https://randomnerdtutorials.com/raspberry-pi-digital-inputs-python/#comment-845075 Tue, 04 Jul 2023 13:04:13 +0000 https://randomnerdtutorials.com/?p=129551#comment-845075 Nice tutorial. One minor issue is that if the on-wire interface is enabled via raspi-config that defaults to GPIO4 so the code will not run. A safer bet might be to use GPIO18

]]>
By: Sara Santos https://randomnerdtutorials.com/raspberry-pi-digital-inputs-python/#comment-842105 Wed, 21 Jun 2023 10:29:02 +0000 https://randomnerdtutorials.com/?p=129551#comment-842105 In reply to Toni.

Hi Toni.
Thanks for your suggestions.
I’ll definitely create more tutorials about the Pico and regular Raspberry Pi soon.
Regards,
Sara

]]>
By: Toni https://randomnerdtutorials.com/raspberry-pi-digital-inputs-python/#comment-841218 Fri, 16 Jun 2023 13:18:23 +0000 https://randomnerdtutorials.com/?p=129551#comment-841218 Dear Sarah, dear Rui,

simple switches can cause (and they do) a lot of headage.

It would be wonderful, if you could cover interrupt driven methods to react on switches, reed-contacts, etc.

I suppose GPIOZERO is not interrupt driven and that could complicate things.

Apart from that, it would be great to have the same thing for ESPs and the pico as well. Speakig of: The pico seems to be a real gem, when it comes to interrupts, timers, etc.

Thank you so much for your outstanding work.

]]>