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
608  |  610
Subject: 
RE: IR problems
Newsgroups: 
lugnet.robotics.rcx.pbforth
Date: 
Sat, 24 Jan 2004 00:10:11 GMT
Reply-To: 
<rhempel@bmts.com{stopspam}>
Viewed: 
3593 times
  
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 displayed the current
headerState VALUE on the display in the right most digit (program #)
and the decimal value of the character received on the main 5 digit display...

I'll play with it a bit this weekend.

Ralph


I was having some problems in a program I'm writing in PbForth and it seems that
it could be related to the way I communicate thru IR. I use the Lego remote
control.

snip snip

Am I missing something here? Any ideas?

Thanks

Mario

============


Ralph, any idea on this?



Message has 2 Replies:
  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)

Message is in Reply To:
  Re: IR problems
 
(...) snip snip (...) ===...=== Ralph, any idea on this? Thanks (21 years ago, 23-Jan-04, to lugnet.robotics.rcx.pbforth)

7 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
    

Custom Search

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