Hello, I'm trying to handle a MCP40D18 50k digital potentiometer whit Arduino, I have detected the i2c port 0x3E correctly but I can't set the potentiometer value using the Wire.write() function. After many changes of the values passed to the function I always receive 0xF8 and measuring with a multimeter the potentiometer is set to the 50%.
Reading the datasheet I do not understand how to write the values correctly.
Some help please!
Did you respect the voltage limitations of the pot (polarity of the DMM).
All pins of the chip (including the pot pins) must stay within the supply/GND limits of the chip.
Leo..