Very good robtillaart!!!
but can you make it for bummies? i am a mechanic end this is a bit comfusing.....
what is the WProgram.h? and what we have to do exactly??
If you download the Mcp4261 library it consists of a .cpp file and a .h file.
the .h file is the interface and the .cpp is the implementation (roughly speaking).
In the .h file there is a line...........
never mind, the fix is a bit more difficult, see the attachment a version of the mcp4261 lib that compiles under 1.0.4 (should work under all 1.0.x versions.
Please let me know if you can compile it too ,
update:
edited a few typos
posted a issue on the github to refer to this updated version.
with the same sircuit i try the Digital Pot Control example that ardunino has. and the pot is changing "randomly" its value.
i measure with a digital osciloscope on pin 13, 2 sets of 8 bit every some ms in 4.015MHz.
with our Mcp4261 i cant measure anytihng anywhere. i thing that for a reason that i dont know SPI is not sending data.