|
The hardware can get a light sensor reading every 1 mS. Is the process that
is
reading the light sensor at a high enough priority?
Kevin
"Nathan Nesbit" <natenez@hotmail.com> wrote in message
news:Gu7zno.41A@lugnet.com...
> I'm a new legos user and I'm trying to get my first app working. The issue
> appears to be that the light sensor value isn't getting updated as
> frequently as I expected. When I slow down the motors my line tracking
> program works fine. I speed it up and it misses the line.
>
> A very similar problem written in NQC seems to have no issue at higher motor
> speeds.
>
> How often is the light sensor value updated? Is there anything I can do to
> speed it up?
>
> Thanks
|
|
Message is in Reply To:
| | Light Sensor help
|
| I'm a new legos user and I'm trying to get my first app working. The issue appears to be that the light sensor value isn't getting updated as frequently as I expected. When I slow down the motors my line tracking program works fine. I speed it up (...) (23 years ago, 7-Apr-02, to lugnet.robotics.rcx.legos)
|
5 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|