Multitasking Possible?

Discussion related to "under the hood" OpenMV topics.
Posts: 32
Joined: Wed Sep 13, 2017 3:16 am

Multitasking Possible?

Postby marcus007 » Tue Nov 07, 2017 5:20 am

Is MultiTasking Possible on OpenMV?
e.g 1 thread handles UART
2nd thread handles camera processing

like this is it possible?
User avatar
Posts: 3270
Joined: Sun May 24, 2015 2:10 pm

Re: Multitasking Possible?

Postby kwagyeman » Tue Nov 07, 2017 10:55 am

MicroPython added a feature for this but I'm pretty sure we don't enable it. Just make a timer interrupt call back that moves bytes into a larger fifo buffer the main thread can process. See the timer module for how to do interrupt call backs.

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests