Subject:
|
Re: Light Sensor help
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Wed, 10 Apr 2002 00:16:38 GMT
|
Original-From:
|
Roland King <rols@rols[spamcake].org>
|
Viewed:
|
730 times
|
| |
| |
Yuck
How much time is the brick spending sleeping then?
Roland
At 17:06 Tuesday, T. Alexander Popiel wrote:
> In message: <GuBJ2q.HLH@lugnet.com>
> "John Barnes" <barnes@sensors.com> writes:
> >
> > Wow! That is very interesting. I wonder if the whole thing is synchronous
> > and based on the 3mS sensor read cycle? This would mean that every process
> > gets one of its byte codes "done" during this periodic 3mS spring-clean
> cycle.
>
> Yes, it all appears to be synchronous. However, only one bytecode
> instruction is run in any given 3ms; any active tasks interleave their
> instructions. If you have two tasks running, they will each be getting
> an instruction every other 3ms. If you have three tasks, each one will
> get one instruction every third 3ms timeslice.
|
|
Message is in Reply To:
| | Re: Light Sensor help
|
| (...) Wow! That is very interesting. I wonder if the whole thing is synchronous and based on the 3mS sensor read cycle? This would mean that every process gets one of its byte codes "done" during this periodic 3mS spring-clean cycle. I guess the (...) (23 years ago, 9-Apr-02, to lugnet.robotics)
|
9 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|