Description

begin() initializes the SPI bus, configuring the SCK, MOSI, and SS pins as outputs (with SCK and MOSI set low, and SS set high), and MISO as input. After calling this function, the device operates as a controller on the SPI bus.

This function is part of the SPI library. See the SPI main page for more information.

Syntax

SPI.begin()

Parameters

None.

Returns

Nothing.