Olin Lathrop ha scritto: > Remember that the PIC 24 has selectable interrupt priorities. Optimize the > code carefully for each of the fast interrupts and make their priorities > higher than anything else. Make the line sampling interrupt third. It will > have a little jitter, but that shouldn't be too much. Yeah, thank you, I'm studying that. I also discovered the "shadow" attribute which is available to make one ISR quicker. Will go in depth on this tomorrow. -- Ciao, Dario -- Cyberdyne -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist