NuMaker mbed cloud v1.2 example
This example has been used on the following platforms
Follow these instructions to get credentials https://cloud.mbed.com/docs/v1.2/quick-start/connecting-your-device-to-mbed-cloud.html
Diff: main.cpp
- Revision:
- 9:5c7c3e367ce6
- Parent:
- 6:254a7e7fbef1
- Child:
- 10:3cad9e255e41
--- a/main.cpp Thu Feb 22 10:34:36 2018 +0000 +++ b/main.cpp Mon Mar 19 12:52:20 2018 +0000 @@ -30,7 +30,8 @@ Ticker timer; // Placeholder for storage -SDBlockDevice sd(PTE3, PTE1, PTE2, PTE4); +SDBlockDevice sd(MBED_CONF_SD_SPI_MOSI, MBED_CONF_SD_SPI_MISO, MBED_CONF_SD_SPI_CLK, MBED_CONF_SD_SPI_CS); + FATFileSystem fs("sd"); // Pointers to the resources that will be created in main_application().