system
1
Hi
I'm trying to make a digital Pot work like the one below.
But I have a different Digital Pot. http://ww1.microchip.com/downloads/en/DeviceDoc/22060b.pdf
I'm using the MCP41x1
I cant for the life of me work out how to wire it.
Can anyone give me a simple diagram on how its done?
Here's what im trying to do below.
Cheers
Nick
You have chosen an SPI device and the example is for an I2C device.
For SPI you will need to use the SPI library instead of the Wire (TWI/I2C) library.
SPI uses 3 or 4 pins:
MOSI (Master Out / Slave In)
MISO (Master In / Slave Out)
SCK (Serial Clock)
SS (Slave Select)
Look at the SPI library examples.
system
3
Thanks that's put me on the right track 
cheers