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.
Dependencies: mbed MB85RSxx_SPI
Diff: main.cpp
- Revision:
- 3:3e6b31527e0e
- Parent:
- 1:bdf8b378dbc9
diff -r 89313b729aac -r 3e6b31527e0e main.cpp --- a/main.cpp Mon Apr 24 14:05:05 2017 +0000 +++ b/main.cpp Tue May 09 02:51:22 2017 +0000 @@ -5,9 +5,9 @@ Serial pc(USBTX, USBRX); #if defined(TARGET_LPC1768) -MB85RSxx_SPI _spi(p5, p6, p7, p8); // mosi, miso, sclk, cs +MB85RSxx_SPI fram(p5, p6, p7, p8); // mosi, miso, sclk, cs #elif defined(TARGET_LPC1114) -MB85RSxx_SPI _spi(dp2, dp1, dp6, dp9); // mosi, miso, sclk, cs +MB85RSxx_SPI fram(dp2, dp1, dp6, dp9); // mosi, miso, sclk, cs #else // Arduino R3 Shield form factor MB85RSxx_SPI fram(D11, D12, D13, D10); // mosi, miso, sclk, cs #endif
Fujitsu SPI FRAM MB85RSxx