CD4021 example

I am looking for a simple example how to wire and initialize the CD4021 mux. I tried using code from the Field, but it didn’t work. The Field uses cascaded CD4021s, which complicates its usability as an example.

Thanks

Maybe this will be helpful, page down to ShiftIn11 for the code:

1 Like