Page 1 of 1

Concurrency

Posted: Wed Jun 23, 2021 10:13 am
by nptech
Uasyncio looks ok to learn,
Is there a micropython esp-idf library access to RTOS and would this be much of an advantage to yasyncio??

Cant find any info on esp32 micropython rtos so far...

Re: Concurrency

Posted: Thu Jun 24, 2021 1:28 am
by nptech
I think iv misunderstood the point,

MicroPython is an interpreter running under rtos so calling rtos would serve no purpose

Whereas arduino or lua are compile time languages, and can call rtos due to there result more or less being bare metal machine code.

So if I want concurrancy in micropython I ise uasyncio or do my best to avoid blocking code eg use interrupts...


Anyone care to comment Micropython / Micro's and concurrancy...

Re: Concurrency

Posted: Thu Jun 24, 2021 3:55 am
by pythoncoder
See this section in my uasyncio tutorial.