Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Two functions on one button in Gpio buttons
#3
SSD1306 I2C display. Connected to pin 5 and 3 of the GPIO connector of the Raspberry Pi Zero 2W. MPD Oled program. It has commands "sudo systemctl stop mpd_oled" and "sudo systemctl start mpd_oled" to turn off and on the MPD Oled. When turned off, the display goes off. I am using in GPIO buttons two buttons. One turns off, the other turns on. It is not convenient and not rational. I would like to use only one button for on/off.
Reply


Messages In This Thread
RE: Two functions on one button in Gpio buttons - by Romanz - 07-05-2024, 08:40 PM

Forum Jump: