Hi all!
I need to control a Digital Potentiometer MPC41010 through SPI in SAM D21.
My code needs to increase or decrease (0 to 255) through Button 1 and Button 2 of OLED1 Xplained Pro to SPI Potentiometer.
I did read of Buttons and ok, then my code needs to put in Data register for transmit but no success.
Today I read the DS and I am confusing in some things.
Anyone has a Bare Code in exemple for SPI interface? Then I can study it based in datasheet. I have no found any example in internet.
Thanks!
Paulo