It works ! kinda !!OK, after some real head banging and coding issues I finally am getting some where, or so I thought...Using wiimote ir camera hack and the AD5206 Digital pot to control my xbox wired controller I have hit another problem ! After being helped by a great guy with the code I find that I only get the X axis to work (ie Left /right)the Y axis still refuses to work (up and down), I see in the serial monitor that it is functioning fine, but get nothing,no voltage output from the digi-pot (channel 2), I have check the wiring etc , and even reolaced the digi-pot,I have even re-wired it so that the X axis wiper wire controls the Y axis on the xbox controller , it works! I have tried a different channel too, still nothing! So I'm thinking maybe it's still a coding issue, so again here is the code I have, Am I just missing something Can some one have a look PLEASE, before I go mad !!