I have an old radio and I am trying to replace its manual volume control by a digital one. I have desoldered/removed the potentiometer. I would like to use an ESP32 connected to a digipot (MCP4018) instead. (see figure).
The sketch is working fine and the resistance between the digipot's wiper (pin 5 of MCP4018) and the GND can be controlled. However, I am confused on how to connect this setup to the wholes left from the potentiometer (see attached figure). I tried the wiper in OUT whole but it didn't work. Thank you.