vijaya_narayana
Full Member level 3
Dear All
I am facing problems in Interfacing the PIC 16F886 with the Digital POT MCP4162
Here is the code for the same if i am sending 0x00 and 0x00 my pot output should be 0 ohms but it is showing 96 Ohms and if i send any other value the pot is not changing pls help me with this
I am facing problems in Interfacing the PIC 16F886 with the Digital POT MCP4162
Here is the code for the same if i am sending 0x00 and 0x00 my pot output should be 0 ohms but it is showing 96 Ohms and if i send any other value the pot is not changing pls help me with this
Code:
spiWrite(0x00);
delay(1);
spiWrite(0x00);
delay(1);