yes Grumpy Mikei in research and i know the analog inputs but image is an only an example. i prepared qucikly
I find that most odd. Why did you deliberately post something that you knew was wrong? Do you send a radio station a demo of "Follow the yellow brick road" and say but I really going to play "Dark side of the moon"?
You can not use pots on a digital input. You have to use the pots on an analogue input and then in the software write the code that sets the CC message to on or off depending on if the reading of the pot is greater or less than 512.
but i have not an enough information using midi and potentiometer with arduino.
You could use a pot. With the wiper voltage below 1.5V (5V system), it'd be read as 0.
With the wiper above 3V (5v system), it'd be read as 1.
1.5 to 3V, might be 0, might be 1.