Subject:
|
Re: Light Sensor Problem
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Sat, 29 Jun 2002 12:13:46 GMT
|
Viewed:
|
2450 times
|
| |
| |
I had similar problems, so I added a bit of code to display the light sensor
value on the LCD. I then placed the bot on the test pad and observed the
various numbers as it crossed from white to green and black. I then updated
the linetrack.c with the specific numbers for light and dark.
I found that the numbers are different if you are outside vs inside. So I
want to add code to change those values at runtime, but I have not done so
yet.
// Joe
"Shehryar Shaheen" <shehryar.shaheen@ul.ie> wrote in message
news:GyCG85.BCy@lugnet.com...
> Hello,
> I have been trying out the demo programs in legOS.
>
> all demos worked fine except linetrack.c. When I download linetrack.lx
> in the RCX (RCX2.0) and put it on the test pad that comes with mind storm
> the bot goes srtaight. It does not recognize dark or light threshhold and
> does not track the line..
<snip>
>
> Shehryar Shaheen
>
|
|
Message is in Reply To:
| | Light Sensor Problem
|
| Hello, I have been trying out the demo programs in legOS. all demos worked fine except linetrack.c. When I download linetrack.lx in the RCX (RCX2.0) and put it on the test pad that comes with mind storm the bot goes srtaight. It does not recognize (...) (22 years ago, 27-Jun-02, to lugnet.robotics.rcx.legos)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|