Added one task
Dependencies: mbed
Diff: mylib/inc/spi.h
- Revision:
- 0:fb4269aa5fb4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mylib/inc/spi.h Fri May 26 03:51:19 2017 +0000 @@ -0,0 +1,14 @@ +#ifndef __SPI_H +#define __SPI_H + +#include "mbed.h" + +extern uint8_t spi_tx[64]; +extern uint8_t spi_rx[64]; + +extern SPI spi1; +extern DigitalOut spi1_cs1; +extern DigitalOut spi1_cs2; + +void SPI_Init(); +#endif \ No newline at end of file