Hey there, I'm currently setting up a project that puts out pulses at presettable = rates, duration and intervals, to simulate a vehicle passing over = detection loops. There are 2 loops 2.5 m apart on each traffic lane, = with a maximum of 4 lanes. I've done a similar project with 2 lanes. I = simply wrote 2 routines (could've been done in a macro), to accommodate = each set of registers (some downcounters and a flag register) for each = lane. Using the FSR this way is a pain in the behind. Now I'm trying to do 4 lanes, but it seems unnecessary to me to put four = routines in the program. Each routine takes up about 200 commands. On = the F628 there are only 3 banks that contain RAM, so using a bank for = each register set is not possible. Any ideas to keep track of 4 sets of registers, without using the rather = clumsy FSR? Rgds, Joris. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body