Prop/DS1868 Interface
Greg Norton
Posts: 70
I'm trying to connect a Propeller to a DS1868 digital pot. The code I have is based on the SPI Demo from the object exchange. The first part just alternately sets maximum and minimum values - this is working fine as verified with my meter. The next part tries to ramp up and ramp down the resistance in increments. When this part of the code executes I get seemingly random resistance values from both pots.
Because the first part is working, I am reasonably confident I have hooked it up correctly, but I can't figure out what the problem is. Anyone have a suggestion on where I'm going wrong?
All help is greatly appreciated.
Thanks.
Greg
Because the first part is working, I am reasonably confident I have hooked it up correctly, but I can't figure out what the problem is. Anyone have a suggestion on where I'm going wrong?
All help is greatly appreciated.
Thanks.
Greg