>1. one of pic pin I always used it as power led and thru > any available timer I turn it on and off (fast enough that > you can see it) the purpose of this is: > if the pic crashed for any reason remotely you can tell if the > pic is alive or dead. Often known as a "heartbeat indicator" :) >2. if I want to check any subroutine to see if it is getting > there or not beginning of subroutine I turn it on and of it > I turn it off. This can be a very neat trick, especially for determining just how long you chip is spending inside an interrupt routine. I used this method with a multichannel scope and multiple pins when debugging an I2C routine so I could see just when things were happening in relation to the serial data stream. Gives a very quick and relevant indication of what is happening. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu