In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Peter Van der Zee wrote: Hello Matthias; The SX can very easily handle multiple threads, one per sensor/action. If you look up the first iteration of SX design contests, I had submitted an entry to handle mutiple threads. Each is independent of the others, hence each times itself. Lookup the RTOS entry, and it will do what you want. It is in assembler, and can not be interfaced to SX/B in those cases where SX/B uses any blocking delays like DELAYUS or serial comms. These you would need to modify into assembler. Cheers, Peter (pjv) ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=394074#m394167 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)