Thank you for your donation!


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


Instruction Guide Use hardware momentary switches to control moOde
#61
I tested my buttons with the script in the webpage that you indicated, displaying the button status. And it's weird because it doesn't stop changing, while I don't press the button. The result is:
Code:
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 0/GPIO.LOW/False - button not pressed
Port 25 is 0/GPIO.LOW/False - button not pressed
Port 25 is 0/GPIO.LOW/False - button not pressed
Port 25 is 0/GPIO.LOW/False - button not pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 1/GPIO.HIGH/True - button pressed
Port 25 is 0/GPIO.LOW/False - button not pressed
Port 25 is 0/GPIO.LOW/False - button not pressed
Port 25 is 0/GPIO.LOW/False - button not pressed
Port 25 is 0/GPIO.LOW/False - button not pressed
Port 25 is 0/GPIO.LOW/False - button not pressed
Port 25 is 0/GPIO.LOW/False - button not pressed
Port 25 is 1/GPIO.HIGH/True - button pressed


Any idea?
Reply


Messages In This Thread
RE: Use hardware momentary switches to control moOde - by sisim - 04-12-2020, 03:58 PM

Forum Jump: