Thank you for your donation!


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


Solved: GPIO buttons on moOde 9.
#11
(05-21-2024, 08:40 AM)the_bertrum Wrote: probably easiest to set the numeric values into the GPIO table perhaps.

Quick test of
Code:
moodeutl -q "UPDATE cfg_gpio set pull=22"
Followed by 

Code:
btn_1_pull = int(row['pull'])
And all seems groovy
----------------
Robert
Reply


Messages In This Thread
GPIO buttons on moOde 9. - by the_bertrum - 05-20-2024, 06:57 PM
RE: GPIO buttons on moOde 9. - by Tim Curtis - 05-20-2024, 07:09 PM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-20-2024, 07:51 PM
RE: GPIO buttons on moOde 9. - by TheOldPresbyope - 05-20-2024, 08:22 PM
RE: GPIO buttons on moOde 9. - by Tim Curtis - 05-20-2024, 08:30 PM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-20-2024, 09:42 PM
RE: GPIO buttons on moOde 9. - by Tim Curtis - 05-20-2024, 10:37 PM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-21-2024, 07:57 AM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-21-2024, 08:03 AM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-21-2024, 08:40 AM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-21-2024, 08:51 AM
RE: GPIO buttons on moOde 9. - by Tim Curtis - 05-21-2024, 11:16 AM
RE: GPIO buttons on moOde 9. - by Dorffen - 05-21-2024, 09:09 AM
RE: GPIO buttons on moOde 9. - by Tim Curtis - 05-22-2024, 01:08 PM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-22-2024, 01:25 PM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-22-2024, 02:09 PM
RE: GPIO buttons on moOde 9. - by Tim Curtis - 05-22-2024, 06:56 PM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-26-2024, 03:33 PM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-26-2024, 05:17 PM
RE: GPIO buttons on moOde 9. - by Tim Curtis - 05-26-2024, 06:13 PM
RE: GPIO buttons on moOde 9. - by Tim Curtis - 05-26-2024, 07:02 PM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-27-2024, 12:28 PM
RE: GPIO buttons on moOde 9. - by Tim Curtis - 05-27-2024, 12:54 PM
RE: GPIO buttons on moOde 9. - by the_bertrum - 05-27-2024, 01:51 PM

Forum Jump: