Subject:
|
Re: Light Sensor help
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Wed, 10 Apr 2002 10:09:56 GMT
|
Viewed:
|
592 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
lego-robotics@crynwr.com writes:
>
> That all seems rather slow though doesn't it? How fast
> is the clock speed on the onboard processor?
16 MHz AFAIK, and I bet it could go much faster,
at the price of a less reproducible timing.
leJOS executes some tens of Java bytecodes per millisecond,
an empty 10000 iterations loop containing four relatively simple
byte codes runs in 1.4 seconds.
Jürgen
--
Jürgen Stuber <stuber@loria.fr>
http://www.loria.fr/~stuber/
|
|
Message is in Reply To:
![](/news/x.gif) | | Re: Light Sensor help
|
| Interesting this is being discussed now. I wrote a chunk of code at the weekend (NQC) to allow me fine control over the motors. Basically, you give each one a number from 0-100, call it N. The drive task counts ticks from 0-99 and ensures the motor (...) (22 years ago, 9-Apr-02, to lugnet.robotics)
|
2 Messages in This Thread: ![Re: Light Sensor help -lego-robotics@crynwr.com (9-Apr-02 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|