hehe that's only a point of view ... This is just an alert for those who are initiating with PIC programming ... There are many issues that the programmer needs to address or prevent while calling functions from an ISR. I did not said it's WRONG, but that's not a good "option". It means that there are ways to do it without the need to call a function from the ISR, like setting a flag that the main program will clear and process out of the ISR. This IN MY OPINION is a more elegant approach and easier to debug too. Again I would like to remember that this practice can result in strange behaviors/errors in the program, if done incorrectly. That's why I said it wasn't a good "option". But if one is confident of what he is doing, of course that will be no problem of doing that. > If you're going to make this statement, you'd better explain why it's "not a > good option." I've been doing it for years without difficulty and it seems > to be just as good an "option" as anything else. > > --Andrew I just tried to use few words, that's my point of view. I'm happy there are other points too ! ;-) -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.