It’s even possible to build a least-cost version without an AINX4 module.
See the comments in main.asm:
; Number of connected pots
; Allowed values: 1-64
#define DEFAULT_NUMBER_POTS 64 ; number of connected pots
;
; Multiplexers (AINX4 modules) connected? -> set this value to 1
; No multiplexer connected= -> set this value to 0, allowed number of pots in this case: 1-8
#define DEFAULT_MUX_ENABLED 1 ; enable multiplexers
[/code]
In "unmuxed" mode the pots have to be connected directly to the J5
Best Regards, Thorsten.
you are mixing digital inputs with analog inputs. The J5 solution is only for people who don’t want to use analog pots - the example is directed to programmers (not for users)
You have to connect your pots to J5, there is no other port where you could do this.
You have to change the settings in main.asm of the midibox64 application to 8 (pots) and 0 (no multiplexer), rebuild the application (like described here: http://www.ucapps.de/howto_tools_mpasm.html), and then you can connect your pots directly to the pins of J5. It shouldn’t be so difficult - just try it out and you will understand what I mean