FINAL PROJECT isn't it

Fork of ELEC351 by Plymouth ELEC351 Group T

SPI.hpp

Committer:
thomasmorris
Date:
2018-05-07
Revision:
53:71f59e195f06
Child:
56:bc5345bc6650

File content as of revision 53:71f59e195f06:

#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();