|
|
|
|
|
|
|
|
// Initialize the SPI library |
|
|
// Initialize the SPI library |
|
|
static void begin(); |
|
|
static void begin(); |
|
|
|
|
|
|
|
|
// If SPI is to used from within an interrupt, this function registers |
|
|
|
|
|
|
|
|
// If SPI is used from within an interrupt, this function registers |
|
|
// that interrupt with the SPI library, so beginTransaction() can |
|
|
// that interrupt with the SPI library, so beginTransaction() can |
|
|
// prevent conflicts. The input interruptNumber is the number used |
|
|
// prevent conflicts. The input interruptNumber is the number used |
|
|
// with attachInterrupt. If SPI is used from a different interrupt |
|
|
// with attachInterrupt. If SPI is used from a different interrupt |