Subject:
|
Re: Running IR in the background
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Tue, 27 Mar 2001 13:31:34 GMT
|
Viewed:
|
1478 times
|
| |
| |
Hannes,
Did you ever get any help with your question (below)? I'm trying to use the
IR port on RCX along with light sensor (passive) as collision detection
device. Having the same problems you're having.
Clayton
In lugnet.robotics.rcx.legos, Hannes Naudé writes:
> Hi all
>
> Is there any way to switch the IR LED on and leave it on. (as a kind of a
> headlight for the light sensor.)
>
> Alternatively, what is the easiest way to just send a comtinuous string of 0's
> so it's on at least a lot of the time, without taking all the processor time.
> I've been using lnp_logical_write() for all my IR up to now ,but it is a
> blocking function so control only returns after the IR is allready off again.
>
> Thanks.
> Hannes
|
|
Message has 2 Replies: | | Re: Running IR in the background
|
| (...) Huge coincidence that your message should be the first I see after not having read the newsgroup for almost a year. No, as far as I can remember I never got an answer. I am using mindstorms for my final project after not having a chance to (...) (24 years ago, 27-Mar-01, to lugnet.robotics.rcx.legos)
| | | Re: Running IR in the background
|
| (...) Commentary below. (...) I must have missed this one the first time around. lnp_logical_write() will block, but it should only block the thread it's called from. Put your send-zero loop in a separate thread and I think you should be set. (24 years ago, 27-Mar-01, to lugnet.robotics.rcx.legos)
|
Message is in Reply To:
| | Running IR in the background
|
| Hi all Is there any way to switch the IR LED on and leave it on. (as a kind of a headlight for the light sensor.) Alternatively, what is the easiest way to just send a comtinuous string of 0's so it's on at least a lot of the time, without taking (...) (25 years ago, 23-Mar-00, to lugnet.robotics.rcx.legos)
|
6 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
|
|
|
|