Plymouth ELEC351 Group T
/
ELEC351_Group_T
FINAL PROJECT isn't it
Fork of ELEC351 by
SPI.hpp
- Committer:
- thomasmorris
- Date:
- 2018-08-15
- Revision:
- 57:aba1296e51b1
- Parent:
- 56:bc5345bc6650
File content as of revision 57:aba1296e51b1:
#ifndef SPI_HPP//Header Guards Prevents Multiple includes #define SPI_HPP #include "mbed.h" #include "LED_LOGGING.hpp" #include "SERIAL.hpp" #include "COLOURS.hpp" /* 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(); void SPI_INTERFACE_SERIAL(); #endif