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.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
hi everybody ... i've been trying for a while to interface a gyroscope with mbed using an external ADC MCP3202 but i have a problem ... i don't konw how to use the write() function of the SPI module to read successive 12 bits ... the ADC's datasheet didn't mention anything about registers to save values in, so i don't know what adress should i read from or write into using write() !! i've tried to change the format to format(12,0), but still the values i have are not reasonable ... any help??