![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Proj 324 Final
Fork of ELEC351_Group_T by
Diff: SPI.cpp
- Revision:
- 57:aba1296e51b1
- Parent:
- 56:bc5345bc6650
--- a/SPI.cpp Mon Jul 16 10:51:47 2018 +0000 +++ b/SPI.cpp Wed Aug 15 21:34:59 2018 +0000 @@ -1,7 +1,7 @@ #include "SPI.hpp" //File for SPI communication -int SPI_RX_DATA = 0; +//int SPI_RX_DATA = 0; void SPI_INIT() { @@ -40,6 +40,7 @@ void SPI_INTERFACE_SERIAL() { + /* //pc.printf("SPI Test \n"); Thread::wait(1000); cs= 0; @@ -48,5 +49,7 @@ cs= 1; colour_data = SPI_RX_DATA; if(Log_Value == 1){pc.printf("Received data = %d\n", SPI_RX_DATA);} + pc.printf("Received data = %d\n", SPI_RX_DATA); Thread::wait(1000); + */ } \ No newline at end of file