??? 06/04/07 15:02 Read: times |
#140244 - real multitreathing does not exsist Responding to: ???'s previous message |
Unless you are using a dual core system real multi-theatding does not exsist.
But what dou you need? To read 2 values within a determined time interval? If you need teh 2 values at exact the same time there is a trick: 1) read sensor 1 (value a) 2) read sensor 2 3) read sensor 1 (value b) 4) interpolate sensor 1 values to the right time. If the time between measurements is not to long one can assume a linear realtion between value a and b. But probably this is way to difficult, normally a 1 or 2 ms offset is not that much of a problem (with good programming 10 us is also possible) regards |
Topic | Author | Date |
MULTI THEARDING CONCEPT | 01/01/70 00:00 | |
expand | 01/01/70 00:00 | |
"in the same microsecond"?? | 01/01/70 00:00 | |
Threads on a '51 ? | 01/01/70 00:00 | |
?? | 01/01/70 00:00 | |
the most common origin of such a thread | 01/01/70 00:00 | |
Yes... | 01/01/70 00:00 | |
everybody is guessing, wait for the OP | 01/01/70 00:00 | |
real multitreathing does not exsist | 01/01/70 00:00 | |
"dual core system"?? | 01/01/70 00:00 | |
simultanious = 2 uc's![]() | 01/01/70 00:00 | |
Multi-threading is for multi-processors | 01/01/70 00:00 | |
everybody is guessing, wait for the OP | 01/01/70 00:00 | |
The OP's question is about multi-threading. | 01/01/70 00:00 | |
8052 contains timer/counters to ease this task | 01/01/70 00:00 |