In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Sparks-R-Fun wrote: Peter, I am sorry to bug you about this. I know you said that your latest code was for the SX48 but. I would like to try it on my SX28. :blush: I tried to make the conversion myself by reducing the number of tasks from 8 to 4 with the following changes. [CODE]DEVICE SX28, OSCHS1 . . . tasklist var byte(12) '4 tasks supported taskId var tasklist(0) 'order of task running taskDelay var tasklist(4) 'delta time list taskInterval var tasklist(8) 'reload delay values for tasks . . . put taskId , 0, 1, 2, 3 put taskInterval,10,13,17,23 put taskDelay , 1, 1, 1, 1 . . . for index=1 to 4 if index=4 then exit . . . if index < 4 then . . . if moveup < 3 then[/CODE] I also tried the inverted serial mode but I always get 12-13 non-text bytes sent whenever I reset the SX28 no matter what serial setting I use. My questions are as follows. [I][b]Is it possible to make your task-switching demo run on an SX28?[/B] If it is, do you mind posting an SX28 version when you have time? [/I] I hope I am not becoming a pain. I am just trying to figure this out! - Sparks ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=3&m=157842#m176465 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)