bitRate Property

Top  Previous  Next

Gets or sets the data rate on the SPI bus.

Syntax

Cell.SPI.bitRate

Property Value

The data rate on the SPI bus.

Remarks

The SPI bus is enabled by setting this property to a positive value. Setting this property to zero disables the SPI bus, allowing the associated pins to be used for other purposes.

Examples

Cell.SPI.bitRate = 16000000;// max speed