![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Proj 324 Final
Fork of ELEC351_Group_T by
Diff: SPI.hpp
- Revision:
- 53:71f59e195f06
- Child:
- 56:bc5345bc6650
diff -r 99915f5240b2 -r 71f59e195f06 SPI.hpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SPI.hpp Mon May 07 15:44:34 2018 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" + + /* + MOSI = Blue + MISO = White + SCLK = Yellow + Slave Select = Green + + */ + +static SPI spi(PC_12,PC_11,PC_10); // mosi, miso, sclk +static DigitalOut cs(PD_2); //Slave select +void SPI_INIT(); \ No newline at end of file