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 / 478
477  |  479
Subject: 
RE: Co-operative Multi tasking in pbforth 2.1
Newsgroups: 
lugnet.robotics.rcx.pbforth
Date: 
Fri, 3 May 2002 12:54:09 GMT
Reply-To: 
<rhempel@bmts.com[NoMoreSpam]>
Viewed: 
2425 times
  
Phil,

I have some hooks in the current version of pbForth that
you can use to implement cooperative multi-tasking.

Have you read the article on implementing a background monitor
to check for button presses? It's at:

<http://www.hempeldesigngroup.com/lego/pbForth/scripts/howtoRCXMonitor1.html>

I was going to write another article this weekend on using John Barnes'
ultrasonic sensor (great bit of engineering) and then another
one on hooking into the 1msec timer hook I have in pbForth.

I'm kinda busy right now at work (who isn't) but requests like
this make it more likely that I'll actually get the article done.

Can you give us more info on what kind of sensor you
want to use and why you actually need multi-tasking?

Cheers, Ralph

--------------------------------------------------------------------
Check out pbFORTH for LEGO Mindstorms at:
<http://www.hempeldesigngroup.com/lego/pbForth>

Buy "Extreme Mindstorms: an Advanced Guide to Lego Mindstorms"
<http://www.amazon.com/exec/obidos/ASIN/1893115844/hempeldesigngrou>
--------------------------------------------------------------------
Reply to:      rhempel at bmts dot com
--------------------------------------------------------------------



Message has 2 Replies:
  Re: Co-operative Multi tasking in pbforth 2.1
 
Hi Ralph Thanks for you reply. I have just started into the article on background monitoring, its great. I am looking forward to your articles on hooking into the one millisecond timer and use of using John Barnes' ultrasonic sensor. I was going to (...) (23 years ago, 3-May-02, to lugnet.robotics.rcx.pbforth)
  Re: Co-operative Multi tasking in pbforth 2.1
 
In lugnet.robotics.rcx.pbforth, Ralph Hempel writes: [...snip...] (...) Ralph, your recent additions to pbForth and to its documentation are simply great. Can't wait to see the next article... I'm currently in a "pbForth phase". Not only I do (...) (23 years ago, 4-May-02, to lugnet.robotics.rcx.pbforth)

Message is in Reply To:
  Co-operative Multi tasking in pbforth 2.1
 
I am have been programming the brick in nqc but have started to find this a little restrictive. I have just started using pbFORTH. Would anyone be able to help me with a sample script to impliment Multi-Tasking. I am using this to set up an "infra (...) (23 years ago, 3-May-02, to lugnet.robotics.rcx.pbforth)

5 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