Skip to main content

DEFAULT_SPI_HZ

Constant DEFAULT_SPI_HZ 

Source
pub const DEFAULT_SPI_HZ: u32 = 2_000_000;
Expand description

The SPI clock a radio is opened at unless its wiring names another, in hertz.

RadioLib opens both families at 2 MHz by default. A slower clock tolerates longer leads between the board and the module, and Wiring::with_spi_hz sets another.