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
Fork of BMP280_test by
Revision 2:6c3a80f22a6c, committed 2015-01-31
- Comitter:
- smigielski
- Date:
- Sat Jan 31 19:57:16 2015 +0000
- Parent:
- 1:74258861ec91
- Commit message:
- fix comment
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 74258861ec91 -r 6c3a80f22a6c main.cpp --- a/main.cpp Sat Jan 31 19:56:47 2015 +0000 +++ b/main.cpp Sat Jan 31 19:57:16 2015 +0000 @@ -1,18 +1,17 @@ #include "mbed.h" SPI spi(P0_28, P0_24, P0_29); // mosi, miso, sclk -DigitalOut cs(P0_25); +DigitalOut cs(P0_25); //bar1 // ACC Registers #define BMP280_ID 0xD0 #define BMP280_READ_FLAG 0x80 -//Test that spi is working with fram FM25CL memory +//Test that spi is working with fram BMP280 memory //mosi: || 0xD0 0x00 || //miso: || 0x00 0x58 || -//Test that spi is working with fram W25Q256 memory int main() { cs=1; while(1) {