External control of mux


#1

I'd like to be able to control a 16 to 1 mux from a 4-bit code applied to Axoloti's external inputs.

Looking in the library I can see some mux objects but not a 16 to 1 line (there seem to be 8 to 1 line versions)

So questions are, how to create a 16 to 1 line mux (cascade?) and how to encode the 4-bit code from the external inputs to control it? Also I looked at the radio buttons and these seem to go to 15 (Eh) but why not 16?

These might be very obvious questions but I'm a beginner exploring this wonderful system!

Many thanks


#2

I've sorted how to convert a 4-bit binary value into an integer value but what about a 16 to 1 line mux?

Help please!


#3

Solved! Cascaded two 8 to 1 line muxs with 2 to 1 and used m.s.b. to select the 2 to 1 inputs