Set proper default pins for SPI

Some boards have different default pins for SPI

Thanks @ladyada
This commit is contained in:
me-no-dev 2017-03-19 11:14:38 +02:00
parent 2b24603aab
commit 01b2ef780a

View File

@ -51,7 +51,7 @@ private:
public:
SPIClass(uint8_t spi_bus=HSPI);
void begin(int8_t sck=-1, int8_t miso=-1, int8_t mosi=-1, int8_t ss=-1);
void begin(int8_t sck=SCK, int8_t miso=MISO, int8_t mosi=MOSI, int8_t ss=-1);
void end();
void setHwCs(bool use);