|
Phil Mack <phil.m@wsg.org.uk> wrote:
> Thanks for your help but I think I might have a broken RCX. The code I've
> been testing and the examples you have help me with all work if I place
> the light sensor about 2 mm from the IR transmitter. At about 2cm it no
> longer works at all.
I doubt you have a broken RCX. If you did, firmdl.c would not download
firmware correctly.
> I have tried setting the IR transmitter power with:
>
> *((unsigned char*)0xffb7)&=~0x01;
That is a good thing to try; I suppose it did not help things?
> Any ideas, could I post the .srec file and see if it works on any other
> units?
I don't see why you couldn't post the .srec file. I don't know if you also
need to post source somewhere though; read the License for details about
that.
Maybe the light sensor just does not receive IR light like you expect it
to, despite your experiences with the IR remote? I will try to write a
program to do what you seem to be trying to do, since it will only take a
few minutes or so to do that.
-Kekoa
|
|
Message has 1 Reply: | | Re: Blocking IR
|
| (...) So I just tried this, and it took more than a few minutes to get it to work. But it does work. Apparently, the modulation of the IR signal is needed for the light sensor to give a reading. The standard modulation used during regular IR (...) (25 years ago, 20-Jun-99, to lugnet.robotics.rcx.legos)
|
Message is in Reply To:
| | Re: Blocking IR
|
| Thanks for your help but I think I might have a broken RCX. The code I've been testing and the examples you have help me with all work if I place the light sensor about 2 mm from the IR transmitter. At about 2cm it no longer works at all. I have (...) (25 years ago, 20-Jun-99, to lugnet.robotics.rcx.legos)
|
12 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|