Sorry. The GPIO inputs are already in the object. If you hook up pots to the analog inputs on the axo board, the patch that i posted will display them.
To switch, add 15/30/45 etc to the offset inlet of the reader object. Just make sure that the table is at least as big as the total number of values you want to store.
You can get the values of your 15/30/45 parameters on the `value' outlet, but in that case you have to use a giant muxer to distribute the value output to your 15/30/... outlets, according to the 'ccNo'outlet.
The easier way is via Midi cc, which the object sends internally. In the 'map' attribute you just give it a list of 15/30/45... cc numbers between 1 and 128 to which the gpio analog inputs 1-15 (and if you use offsets, 16-30, 31-45 etc) should be sent. You can then use MIDI CC on any controller object, or use a MIDI/in/cc object, as i did in the patch, to get the value of any cc.
Does that help, and will it do what you want to?
Here's a (hopefully) more self-explanatory version of the patch.
15 control.axp (15.8 KB)
ps: corrected a bug in the patch