Newbie to MUX

I spent 3hrs trying to figure out how to address my trriple MUX to go 31:1..... Dumb is was.

Am I correct here

U want 31 channels so it's costing u 5 bits. Level 0 gets MSB, then that Cascades to 2, then 4, 8, 16.

Silly pet project, poorly thought out. Wx station. Amment and vane are not really easy to make from scratch, I gave up, it wouldn't of caught wind anyhow....

Thanks

Just connect the thing to the gismo. that should solve the problem. If not them maybe you should post more information so we can understand your problem.