micropython-async
micropython-async copied to clipboard
Application of uasyncio to hardware interfaces. Tutorial and code.
Thank you peterhinch to shared this impressive project. I want to modified auart_hd to fit the modbus bus driver. I found used the async mode, the function response so slow.As...
At random times (the latest being when the encoders where sitting for a while) the code will not register a change in direction change. I am using a hardware debounce...
Following your tutorial, you have mentioned that `gather` can return exceptions with the correct flag set. However, using the code you provide in [section 3.3 gather](https://github.com/peterhinch/micropython-async/blob/master/v3/docs/TUTORIAL.md#33-gather ) on MicroPython 1.17,...
Hi Peter! In the link https://github.com/peterhinch/micropython-async/blob/master/v3/docs/I2C.md has a "The file sock_nonblock.py illustrates.." where "sock_nonblock.py" is a hyperlink to https://github.com/peterhinch/micropython-async/blob/master/v3/docs/sock_nonblock.py where this link do not exists. Thank you.
Hi, I've faced issue with async code. I've tested 2 cases: loop with synchronous code, and loop with async code V3 as follow on ESP32 without PSRAM. I use the...
Hello, I am having an issue using the primitives modules. I get the 'ImportError: no module named 'primitives'' message any time I try to import a primitive. I can import...
Hi Peter! Very nice work, but I'm a bit sad when start reading/testing uasyncio v3 code on my esp32. :( Many docs are referencing and works just with pyboard, and...
Hi Piter! Two questions: 1. Is the StreamWriter/StreamReader still the best idea/strategy to works with uasyncio v3, I mean, in async mode (no blocking) TCP/IP socket Client and Server, like...
This is using the temporary V3 Queue. Not sure if Im wasting my breath if there is already a new version somewhere else (at least I dont know of it...)?...
Hi Piter. I have this code already perfect working in my application running on MicroPython 1.11.0, using asyncio v2 of course: ``` async def uart_receive(): sreader = asyncio.StreamReader(uart) while True:...