I'm trying to create a project that will allow me to control digital potentiometer using the .NET gadgeteer. They both use the SPI protocol so at first sight this should be easy. The potentiometer is MCP4131:
http://farm9.staticflickr.com/8062/8240194093_87b2e5c9fb.jpg
and the gadgeteer socket is:
Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Pin 6 Pin 7 Pin 8 Pin 9 Pin 10
+3.3V +5V GPIO! GPIO GPIO GPIO MOSI MISO SCK GND
Unfortunately, I can't understand how to connect these two together. Furthermore, I Don't really know how to program the gadgeteer in order to control the potentiometer.
Any help would come in handy, Thanks in advance!