In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Sparks-R-Fun wrote: [QUOTE="pjv"]In assembler with an RTOS scheduler these problems simply go away. [/QUOTE] [QUOTE="JonnyMac"]I would love to see that, Peter. I've looked at your other programs and while I know that they work, I'm just not quite getting it. I think I'm smart enough to get it -- I just need a few more whacks to the head to get things to register.... [/QUOTE] [QUOTE="Ccraig"]I would love to use a RTOS and played a little with one that was posted some months back. I'm still not at ease with assembly, but I'm getting there (slowly). [/QUOTE] [QUOTE="pjv"]I'd appreciate getting a few guru's to beat up on this..... any takers? My guess is that at this point at least it's certainly not for beginners.....[/QUOTE] Can you [B]TEACH[/B] this stuff, Peter? I think that a great barrier for me at the moment is that I do not know how to [B]THINK[/B] that way! When I started learning how to program I was taught how to think about each step required for a certain task and how to proceed through each one either sequentially or conditionally. Then I learned a little bit about how to use interrupts which was great because then I could program TWO things to be happening at the same time! The catch was that whatever was operating in the foreground had to not care too much about being interrupted by the task operating in the background. After a while, though, it became clear that I could run more than two tasks using interrupts. This was fairly easy if the other ISR task(s) had the same timing or at least some common timing multiple. So you see, from my perspective it has a lot to do with learning how to [B]think[/B] about having multiple tasks running. I would like to agree with JonnyMac in thinking that I ought to be smart enough to think like that but may need some help in doing so. Do you think you can help up learn to think in the proper way to handle multiple and, even more frightening, co-operative tasks or at least point us to some helpful resources? I'd like to learn by I am not sure how to think like that yet! - Sparks ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=195387#m196274 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)