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:
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
|
|
|
|