|
-----Original Message-----
From: news-gateway@lugnet.com [mailto:news-gateway@lugnet.com] On Behalf
Of John Cooper
Sent: Monday, May 10, 1999 6:07 AM
To: lugnet.robotics.rcx.pbforth@lugnet.com
Subject: Re: Ir transmission
> while
> EMIT sends out an arbitrary byte.
I can't get EMIT to work, in NQC I do this:
SendMessage(255); // Flash
Sleep(3);
ThisRaw = RAW_LIGHT;
and the raw light sensor reading has big spikes for IR reflections.
but:
[ HEX ] FF EMIT
30 msWait
RawLight LIGHT?
does not, I think that EMIT may be a blocking call and SendMessage
not, I will investigate the code.
--
John Cooper, Wallington, UK
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|