Interfacing 8051 with digital potentiometer

I have problem of interfacing 8051 with digital potentiometer. Can anyone give me interfacing code and diagram for interfacing max 5481 or anyother digital potentiometer with 8051.

More questions in this forum