目录

SPI

setClockDivider()

Description

Sets the SPI clock divider relative to the system clock. The dividers available are 2, 4, 8, 16, 32, 64, or 128. The default setting is SPI_CLOCK_DIV4, which sets the SPI clock to one-quarter the frequency of the system clock.

Syntax

SPI.setClockDivider(divider)

Parameters

divider:

Returns

None

Reference Home