stuff
This commit is contained in:
parent
faaa01c0eb
commit
1cfc1e6cde
1 changed files with 3 additions and 3 deletions
|
|
@ -6,12 +6,12 @@ from display import display
|
||||||
|
|
||||||
def wheel_handler(dir):
|
def wheel_handler(dir):
|
||||||
print(f"wheel: {dir}")
|
print(f"wheel: {dir}")
|
||||||
await disp.write(1, f"wheel: {dir}")
|
disp.write(1, f"wheel: {dir}")
|
||||||
await disp.redraw()
|
disp.redraw()
|
||||||
|
|
||||||
def button_test(*args):
|
def button_test(*args):
|
||||||
print(args)
|
print(args)
|
||||||
await disp.write(2, args)
|
disp.write(2, args)
|
||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
pi = asyncpio.pi()
|
pi = asyncpio.pi()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue