I am building my own multiplexer capelet using 7 CD4051 ic's. 6 of the 4051's will have sensors hooked up to them. Those outputs are send to 1 'master' 4051. Then the output of the master will be send to Bela trough a single analog in. I am using Pure Data for this project so I am using the multiplexer-capelet PD patch as a basis. I have p8 pins 43, 45 and 46 hooked up to channel select switches of the 6 4051's. When I hook up the outputs of the 6 4051's to analog ins 0 trough 5 everything seems to work fine. Now I want to feed them trough the master ic and receive them using the ouput of the master ic. Can you give me some tips on how to proceed?
I am wondering which output pins on the bela I should use to switch channels on the master ic. And how can I find out at what rate the 43, 45 and 46 pins are being switched so I can update the master ic accordingly? Any insight into how the multiplexer capelet does all this is welcome.
Thanks in advance and greetings!