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 / 18
17  |  19
Subject: 
Ir transmission
Newsgroups: 
lugnet.robotics.rcx.pbforth
Date: 
Mon, 29 Mar 1999 20:36:21 GMT
Viewed: 
1606 times
  
Hi,
is there any way to send IR messages using pbForth.  This is in order to use
the IR proximity detector commonly used with nqc programs.
Also I think that with alternative firmware such as pbForth and nqc, it
should be possible to do it without using the light sensor, just the IR com
link.
Thank you for your thoughts on the subject



Message has 2 Replies:
  RE: Ir transmission
 
(...) YES!!! The standard FORTH word U. prints an insigned integer, while EMIT sends out an arbitrary byte. So, for a simple IR proximity detector, you would write something like: HEX 0 SENSOR_ACTIVE (labelled sensor #1) 3 1 SENSOR_TYPE (light (...) (26 years ago, 30-Mar-99, to lugnet.robotics.rcx.pbforth)
  Re: Ir transmission
 
(...) My next project is to port the IR proximity dectector originally posted by Mark R. David (markdavid@mediaone.net) in sort-of-Spirit code which I reposted in NQC whan I had got it working. It is the best performing detector I have found so far. (26 years ago, 4-Apr-99, to lugnet.robotics.rcx.pbforth)

9 Messages 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