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 / 609
  RE: IR problems
 
Hmmm The blip and LCD clearing, while useful for debugging may be messing things up. The characters are coming in way faster than the blip time, so you may not be reading the buffer fast enough. I would put code at the end of getHeader that (...) (21 years ago, 24-Jan-04, to lugnet.robotics.rcx.pbforth)
 
  Re: IR problems
 
(...) Thanks Ralph. I'll try this. I might have followed the wrong track but I got to this 'test program' trying to solve the problem I have in my 'real' program: I'm writing a PbForth version of the Trailerbot (Luis Villa, Extreme Mindstorms). The (...) (21 years ago, 28-Jan-04, to lugnet.robotics.rcx.pbforth)
 
  Re: IR problems
 
(...) Ralph, one more question. Are there conditions where the word EKEY would wait for input (like KEY)? It seems to happen in my program. Thanks (21 years ago, 29-Jan-04, to lugnet.robotics.rcx.pbforth)
 
  RE: IR problems
 
(...) EKEY always waits for input. Use EKEY? to see if anything is available... Looking at the source, I see that there is a possiblity that in the time between checking for a character with EKEY? and actually reading it with EKEY, that an error can (...) (21 years ago, 30-Jan-04, to lugnet.robotics.rcx.pbforth)
 
  Re: IR problems
 
(...) I did not explain my problem properly but you got it anyway! I do use EKEY? before EKEY, but sometimes EKEY seems to block. Thanks for taking your time to look into this. As for the new word (wow!), in Forth-79, there was a word called ?KEY (...) (21 years ago, 31-Jan-04, to lugnet.robotics.rcx.pbforth)

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