![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Proj 324 Final
Fork of ELEC351_Group_T by
SPI.hpp
- Committer:
- thomasmorris
- Date:
- 2018-07-16
- Revision:
- 56:bc5345bc6650
- Parent:
- 53:71f59e195f06
File content as of revision 56:bc5345bc6650:
#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