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
Revision 3:3e6b31527e0e, committed 2017-05-09
- Comitter:
- MACRUM
- Date:
- Tue May 09 02:51:22 2017 +0000
- Parent:
- 2:89313b729aac
- Commit message:
- Fix instance name from _spi to fram
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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