Add skeleton of SPI class.

git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@86 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
master
follower 17 years ago
parent 4377145f3e
commit 89111a4e8c

@ -39,6 +39,7 @@
#include <WIZ810MJ.h>
/* --------- SPI --------- */
// Define SPI-related pins
#define PIN_DATA_OUT 11 // MOSI (Master Out / Slave In)
@ -46,6 +47,17 @@
#define PIN_SPI_CLOCK 13 // SCK (Serial Clock)
#define PIN_SLAVE_SELECT 10 // SS (Slave Select)
class SPI {
public:
static void begin(void);
};
void SPI::begin(void) {
}
/* ----------------------- */
// #define PIN_RESET 9 // WIZnet module /RESET
#define PIN_RESET 8 // WIZnet module /RESET

Loading…
Cancel
Save