Search found 4 matches

by nptech
Thu Jun 24, 2021 1:28 am
Forum: General Discussion and Questions
Topic: Concurrency
Replies: 2
Views: 1067

Re: Concurrency

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 i...
by nptech
Wed Jun 23, 2021 10:13 am
Forum: General Discussion and Questions
Topic: Concurrency
Replies: 2
Views: 1067

Concurrency

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...
by nptech
Sun Jun 20, 2021 8:49 am
Forum: General Discussion and Questions
Topic: Noob: access to variable assigned Objects
Replies: 3
Views: 1264

Re: Noob: access to variable assigned Objects

Thank you for the example reply :)
by nptech
Sun Jun 20, 2021 5:28 am
Forum: General Discussion and Questions
Topic: Noob: access to variable assigned Objects
Replies: 3
Views: 1264

Noob: access to variable assigned Objects

say I: motor_forward = machine.Pin... motor_backward = machine.Pin.... & I wish to create 2 routines def forward(): backward(): is it possible to initialise the pin's within the main body of code & gain access to them within my sub routines...? or is it possible to initialise the pins within there o...