Does anybody know how to do this with ATSAMD21 based boards?
I am stumbling at setting up the slave, I think the following:
// turn on SPI in slave mode
SPCR |= _BV(SPE);
Apply only to ATMEGA based boards?
Does anybody know how to do this with ATSAMD21 based boards?
I am stumbling at setting up the slave, I think the following:
// turn on SPI in slave mode
SPCR |= _BV(SPE);
Apply only to ATMEGA based boards?