SPI.end()

Description

Disables the SPI bus (leaving pin modes unchanged). If you specified a different slave select pin when SPI.begin was called, you can pass that as a parameter.

Syntax

SPI.end()
SPI.end(slaveSelectPin)

Parameters

slaveSelectPin: slave device SS pin

Returns

None

Guide Home