Hi,
You can control the potentiometer as follows:
Connect the CS pin to a port pin and U/D pin to another port pin.
To Move Up the pot:
1. Make CS bit high
2. Make U/D bit high.
3. Make CS Low
4. Make U/D Low, NOP, U/D High ; the pot moves up by one step.
5 . Repeat Step 4 as many times, as possible to move/ as you want the pot to move up.
6. Make CS high and lock up the position
Now to Move Down the pot,
1. MAke CS bit high
2. Make U/D low
3. Make CS Low
4. Make U/D High, NOP, U/D Low ; the pot moves Down by one step.
5 . Repeat Step 4 as many times, as possible to move/ as you want the pot to move Down.
6. Make CS high and lock up the position
Note:The pot position is volatile and need to be set everytime on power on.
Regards,
Laktronics