Async web server and button press #12388
-
Hi, all.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Might be a good idea o correct indentation a bit above line 98. |
Beta Was this translation helpful? Give feedback.
-
You probably forgot to indent lines 93 and 94 after |
Beta Was this translation helpful? Give feedback.
-
If my understanding is correct then the idented while True:
if button_presses != old_presses:
print(button_presses)
old_presses = button_presses blocks, i.e. prevents the async machinery from working. |
Beta Was this translation helpful? Give feedback.
You probably forgot to indent lines 93 and 94 after
if button_presses != old_presses: