Digipot troubleshooting

Hi all. I've bought a digital potentiometer manufactured by intersil. The model is X9511.
It is originally made to use with push buttons. But I would like to use with the arduino.
The buttons are used connected to ground.
How do I do to use arduino pin instead of the push button?

https://www.intersil.com/content/dam/Intersil/documents/x951/x9511.pdf

Welcome,

Use function digitalWrite, and delay (or similar) to simulate debouncing.

// simulate press on Up button
digitalWrite( PU, LOW );
delay( 50 );
digitalWrite( PU, HIGH );

You also need to use pinMode in setup() to make PU an output

pinMode( PU, OUTPUT );