J5 as analog input

Hello, first of all I’d like to thank the whole community, this forum is truly a valuable source of info, with a quick view I was shooting troubles like in bird hunting!

Unfortunately there’s something I couldn’t understand. I saw that it is possible to use J5 as a digital input if multiplexers in the source code are disabled. Anyway, I didn’t understand how to connect analog pots to j5. Is it possible? To have 8 pots which regulates midi parameters from 0 to 127 I absolutely need an AIN module with the multiplexers or I can use J5? In main.asm I read that I can have up to 8 pots with multiplexers disabled.

Thanks!

Hi,

No need for AIN:

By setting:

#define DEFAULT_NUMBER_POTS 8

and

#define DEFAULT_MUX_ENABLED	0

You can connect pots directly to the core -> J5 pins marked as A0 -> 07.. just remember to provide the power for the pots too :wink:

Bye, Moebius