The program demonstrates how to implement SPI on RedBearLab nRF51822 platform

Dependencies:   mbed

The program demonstrates how to implement SPI on RedBearLab nRF51822 platform.

Files at this revision

API Documentation at this revision

Comitter:
RedBearLab
Date:
Thu Jan 07 02:56:30 2016 +0000
Parent:
0:281fa0c39c15
Commit message:
Update libraries.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
spi_master.cpp Show annotated file Show diff for this revision Revisions of this file
spi_master.h Show annotated file Show diff for this revision Revisions of this file
diff -r 281fa0c39c15 -r a7087bcd5c28 main.cpp
--- a/main.cpp	Wed Oct 22 05:12:07 2014 +0000
+++ b/main.cpp	Thu Jan 07 02:56:30 2016 +0000
@@ -18,7 +18,7 @@
 */
 
 #include "mbed.h"
-#include "spi_mast.h"
+#include "spi_master.h"
 
 DigitalOut spi_cs(P0_14);//D10
 
diff -r 281fa0c39c15 -r a7087bcd5c28 mbed.bld
--- a/mbed.bld	Wed Oct 22 05:12:07 2014 +0000
+++ b/mbed.bld	Thu Jan 07 02:56:30 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/552587b429a1
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/4336505e4b1c
\ No newline at end of file
diff -r 281fa0c39c15 -r a7087bcd5c28 spi_master.cpp
--- a/spi_master.cpp	Wed Oct 22 05:12:07 2014 +0000
+++ b/spi_master.cpp	Thu Jan 07 02:56:30 2016 +0000
@@ -17,7 +17,7 @@
 
 */
 
-#include "spi_mast.h"
+#include "spi_master.h"
 
 /**********************************************************************
 name :
diff -r 281fa0c39c15 -r a7087bcd5c28 spi_master.h
--- a/spi_master.h	Wed Oct 22 05:12:07 2014 +0000
+++ b/spi_master.h	Thu Jan 07 02:56:30 2016 +0000
@@ -17,8 +17,8 @@
 
 */
 
-#ifndef _SPI_H_
-#define _SPI_H_
+#ifndef _SPI_MASTER_H_
+#define _SPI_MASTER_H_
 
 #include "mbed.h"