Disables the SPI bus (leaving pin modes unchanged).
// SYNTAX SPI.end();
Note that you must use the same SPI object as used with SPI.begin() so if you used SPI1.begin() also use SPI1.end().
SPI
SPI.begin()
SPI1.begin()
SPI1.end()