This commit is contained in:
Benjamin Tayehanpour 2026-09-26 21:30:00 +00:00
parent 8df4d810cc
commit 796b37bff6
2 changed files with 4 additions and 3 deletions

View file

@ -11,7 +11,8 @@ def wheel_handler(dir):
def button_test(*args):
print(args)
disp.write(2, args)
loop = asyncio.get_event_loop()
loop.create_task(disp.write(1, args))
async def main():
pi = asyncpio.pi()