Proj 324 Final

Fork of ELEC351_Group_T by Plymouth ELEC351 Group T

Committer:
thomasmorris
Date:
Mon May 07 15:44:34 2018 +0000
Revision:
53:71f59e195f06
Child:
56:bc5345bc6650
To test version of code;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
thomasmorris 53:71f59e195f06 1 #include "mbed.h"
thomasmorris 53:71f59e195f06 2
thomasmorris 53:71f59e195f06 3 /*
thomasmorris 53:71f59e195f06 4 MOSI = Blue
thomasmorris 53:71f59e195f06 5 MISO = White
thomasmorris 53:71f59e195f06 6 SCLK = Yellow
thomasmorris 53:71f59e195f06 7 Slave Select = Green
thomasmorris 53:71f59e195f06 8
thomasmorris 53:71f59e195f06 9 */
thomasmorris 53:71f59e195f06 10
thomasmorris 53:71f59e195f06 11 static SPI spi(PC_12,PC_11,PC_10); // mosi, miso, sclk
thomasmorris 53:71f59e195f06 12 static DigitalOut cs(PD_2); //Slave select
thomasmorris 53:71f59e195f06 13 void SPI_INIT();