This example shows how to use the SPI interface to read the WHOAMI register of the slave device. The WHOAMI register is an ID register of the slave device.
Note: Please update your MISO, MOSI, SCLK and CS pins.
MIRRORED FROM MASTER EXAMPLE SNIPPETS REPOSITORY: mbed-os-examples-docs_only. ANY CHANGES MADE DIRECTLY TO THIS REPOSITORY WILL BE AUTOMATICALLY OVERWRITTEN.