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
#57
I added your lines, it looks like this now:

Code:
# Main
while True:
   time.sleep(1)

def sw_1_event(channel):
          subprocess.call(sw_1_cmd)
          print('Executed: ' + sw_1_cmd)


But I still don't see anything happening when I press any button Sad
Reply


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

Forum Jump: