Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 9 months ago.
What kind of value has to be in spi.write ?
I want to sset a voltage to AD5668 and i wanted to know if we could write an integer between 0 and 65535 in spi.write() or does it have to be an hexadecimal ?
As long as you have initialized SPI as 16-bit format then yes, you can do this.
posted by Bill Bellis 13 Mar 2017