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.
6 years, 5 months ago.
Do you have an example program?
I am new to coding on the mbed platform. Can you upload an example program showing how to use your library for spi protocol.
Question relating to:
2 Answers
6 years, 5 months ago.
Hello Prival,
Linked below is the API for the SPI:
https://os.mbed.com/docs/latest/reference/spi.html
Near the bottom of the page, you should see an example that uses SPI. You can also reference the mbed documentation linked below:
https://os.mbed.com/users/mbed_official/code/mbed/docs/tip/classmbed_1_1SPI.html
Hope this helps!
-Karen, team Mbed
If this solved your question, please make sure to click the "Thanks" link below!
6 years, 5 months ago.
Hello Priyal,
I would suggest that you go over the Mbed tutorials if you are new to Mbed platform. https://os.mbed.com/docs/v5.9/tutorials/index.html
Here is the example program that introduce you to SPI comunication protocol: https://os.mbed.com/teams/mbed_example/code/SPI_HelloWorld/
Please let me know if you have any questions!
- Peter, team Mbed
If this solved your question, please make sure to click the "Thanks" link below!