Shop OBEX P1 Docs P2 Docs Learn Events
Prop/DS1868 Interface — Parallax Forums

Prop/DS1868 Interface

Greg NortonGreg Norton Posts: 70
edited 2010-12-10 21:12 in Propeller 1
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
Sign In or Register to comment.