To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.pbforthOpen lugnet.robotics.rcx.pbforth in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / pbFORTH / 62
61  |  63
Subject: 
FW: Ir transmission
Newsgroups: 
lugnet.robotics.rcx.pbforth
Date: 
Tue, 11 May 1999 16:36:34 GMT
Viewed: 
1511 times
  
-----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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR