Queue not work as exected #15953
Unanswered
moppi79
asked this question in
Using MicroPython
Replies: 1 comment
-
You can edit your code like this: class server_task:
async def main(): asyncio.run(main()) The get() method in the server_task class is now an async def, and it awaits the self.q.get() method to fetch data from the queue properly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi
i get stuck with queue
i want the data from the server, in the Main loop.
But wenn i call the queue, i get back a
server on the ESP , working fast and fine.
ESP32 (Wroom) code (running on micropython v1.23.0)
ESP CLI output
can someone tell me where my mistake is
i have no problem to call or send data to my a other Python-server (this works with queue too, but with threads).
when it is need i can post my client code as well
BR
Moppi
Beta Was this translation helpful? Give feedback.
All reactions