Nrf24l01 Constructors

Definition

Overloads

Nrf24l01(SpiDevice, Int32, Int32, Byte, Byte, OutputPower, DataRate, PinNumberingScheme)

C#
public Nrf24l01 (System.Device.Spi.SpiDevice sensor, int ce, int irq, byte packetSize, byte channel = 2, Iot.Device.Nrf24l01.OutputPower outputPower = Iot.Device.Nrf24l01.OutputPower.N00dBm, Iot.Device.Nrf24l01.DataRate dataRate = Iot.Device.Nrf24l01.DataRate.Rate2Mbps, System.Device.Gpio.PinNumberingScheme pinNumberingScheme = System.Device.Gpio.PinNumberingScheme.Logical);

Parameters

sensor
SpiDevice
ce
Int32
irq
Int32
packetSize
Byte
channel
Byte
outputPower
OutputPower
dataRate
DataRate
pinNumberingScheme
PinNumberingScheme

Applies to

.NET IoT Libraries 1.0.0
Product Versions
.NET IoT Libraries 1.0.0

Nrf24l01(SpiDevice, Int32, Int32, Byte, Byte, OutputPower, DataRate, PinNumberingScheme, GpioController, Boolean)

Creates a new instance of the nRF24L01.

C#
public Nrf24l01 (System.Device.Spi.SpiDevice sensor, int ce, int irq, byte packetSize, byte channel = 2, Iot.Device.Nrf24l01.OutputPower outputPower = Iot.Device.Nrf24l01.OutputPower.N00dBm, Iot.Device.Nrf24l01.DataRate dataRate = Iot.Device.Nrf24l01.DataRate.Rate2Mbps, System.Device.Gpio.PinNumberingScheme pinNumberingScheme = System.Device.Gpio.PinNumberingScheme.Logical, System.Device.Gpio.GpioController? gpioController = default, bool shouldDispose = true);

Parameters

sensor
SpiDevice

The communications channel to a device on a SPI bus

ce
Int32

CE Pin

irq
Int32

IRQ Pin

packetSize
Byte

Receive Packet Size

channel
Byte

Working Channel

outputPower
OutputPower

Output Power

dataRate
DataRate

Send Data Rate

pinNumberingScheme
PinNumberingScheme

Pin Numbering Scheme

gpioController
GpioController

GpioController related with operations on pins

shouldDispose
Boolean

True to dispose the Gpio Controller

Applies to

.NET IoT Libraries 2.2.0 and other versions
Product Versions
.NET IoT Libraries 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0