Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 2:fe531746e3f4
- Parent:
- 1:f5ba096817a0
- Child:
- 3:4793e04b9f3b
diff -r f5ba096817a0 -r fe531746e3f4 main.cpp --- a/main.cpp Thu Sep 07 07:30:12 2017 +0000 +++ b/main.cpp Mon Apr 16 02:53:38 2018 +0000 @@ -13,7 +13,12 @@ // Nucleo-64 series SPI spi(D11, D12, D13); // mosi, miso, sclk DigitalOut cs(D10); -I2C i2c(D14, D15); +I2C i2c(D14, D15); +#elif defined(TARGET_SAKURAIO_EVB_01) +// sakura.io Evaluation Board(SCO-EVB-01) +SPI spi(PA_10, PA_12, PB_0); // mosi, miso, sclk +DigitalOut cs(PB_1); +I2C i2c(PC_9, PA_8); #else // LPC1768 or others. SPI spi(p5, p6, p7); // mosi, miso, sclk