Added one task

Dependencies:   mbed

Committer:
PicYusuke
Date:
Fri May 26 03:51:19 2017 +0000
Revision:
0:fb4269aa5fb4
hoge

Who changed what in which revision?

UserRevisionLine numberNew contents of line
PicYusuke 0:fb4269aa5fb4 1 #ifndef __SPI_H
PicYusuke 0:fb4269aa5fb4 2 #define __SPI_H
PicYusuke 0:fb4269aa5fb4 3
PicYusuke 0:fb4269aa5fb4 4 #include "mbed.h"
PicYusuke 0:fb4269aa5fb4 5
PicYusuke 0:fb4269aa5fb4 6 extern uint8_t spi_tx[64];
PicYusuke 0:fb4269aa5fb4 7 extern uint8_t spi_rx[64];
PicYusuke 0:fb4269aa5fb4 8
PicYusuke 0:fb4269aa5fb4 9 extern SPI spi1;
PicYusuke 0:fb4269aa5fb4 10 extern DigitalOut spi1_cs1;
PicYusuke 0:fb4269aa5fb4 11 extern DigitalOut spi1_cs2;
PicYusuke 0:fb4269aa5fb4 12
PicYusuke 0:fb4269aa5fb4 13 void SPI_Init();
PicYusuke 0:fb4269aa5fb4 14 #endif