Plymouth ELEC351 Group T
/
ELEC351_Group_T
FINAL PROJECT isn't it
Fork of ELEC351 by
Diff: SPI.hpp
- Revision:
- 56:bc5345bc6650
- Parent:
- 53:71f59e195f06
--- a/SPI.hpp Thu May 24 13:31:20 2018 +0000 +++ b/SPI.hpp Mon Jul 16 10:51:47 2018 +0000 @@ -1,4 +1,10 @@ +#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 @@ -10,4 +16,7 @@ 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 +void SPI_INIT(); +void SPI_INTERFACE_SERIAL(); + +#endif