I'm not sure if I have misunderstood this but if you are trying to make a multiplexer for your AP then would it not be easier to use something like a PIC10F202 as an RC switch combined with a 74157 ? if this is what you are trying to do then there are plenty of ready made projects done by others which would save you time and hassle.
My good friend - I think you know why you got the funny answer; you asked a vague and general question without so much as explaining the situation. Now that you've provided more information, I'll do what I can (be aware that I'm not a PIC user).
Some of the information I'm about to give may not be relevant to your setup... keep that in mind. First, make sure the HCF is compatible with the PIC16F i/o pin voltage level. Then, make sure its output is capable of driving your load at the rated voltage and current. In the past, people have used the CD4052 with a PIC, only to discover they were using it to sink too much load at times, causing intermittent operation. Check your spec sheets.
Post a link to the schematic of how you have this thing interfaced. It may help those familiar with PIC, and they can in turn help you. Since I haven't a clue as to how you have this thing hooked up, I really can't verify much more for you.
Replies
Some of the information I'm about to give may not be relevant to your setup... keep that in mind. First, make sure the HCF is compatible with the PIC16F i/o pin voltage level. Then, make sure its output is capable of driving your load at the rated voltage and current. In the past, people have used the CD4052 with a PIC, only to discover they were using it to sink too much load at times, causing intermittent operation. Check your spec sheets.
Post a link to the schematic of how you have this thing interfaced. It may help those familiar with PIC, and they can in turn help you. Since I haven't a clue as to how you have this thing hooked up, I really can't verify much more for you.