This is one of those applications where it's arguably better than a 555 timer based solution but in practice you could build it with a 555 timer faster than you can write the PIC code.
[Source] PIC Projects.org.uk
Selected questions from past Q&A columns.
Need to brush up on your electronics principles? These multi-part series may be just what you need!