That reminds me of the cemetery joke: How many people are dead in that cemetery? Answer: all of them!
My idea of using the '154 was that 8 of them could be connected with their inputs in parallel. The enable port on the '154 would be connected to 8 pins on the PIC to select the group of 16 magnets. that leaves 4 pins on the PIC for other control.
Russ
Bookmarks