It is possible to do what you are described (and much more) with a single PIC.