Aslam Jallali wrote : > Hello to you > Using the delay generator from "form" ?? > I have generated 21 different delay routines. (I need these > for different LED flash sequences).... I think that we can stop here... Now, do you realy need all those delay routines ? What are the actual delay times that you need ? Do they have some common "time base", such as 1, 10 or 100 ms, and all delays are integer multiples of this "time base" ? I think that you should set up one timer to provide the "time base". Let the timer-overflow-interrupt call a routine that decrements 21 "delay-counters", and whenever anyone of them gets to zero, do something. If you provide a little more information about what this application is supposed to do, it will be easier to tell *how* to do it... :-) Jan-Erik. -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics