Pcd8544 Constructors

Definition

Overloads

Pcd8544(Int32, SpiDevice, Int32, PwmChannel, GpioController, Boolean)

Create Pcd8544

C#
public Pcd8544 (int dataCommandPin, System.Device.Spi.SpiDevice spiDevice, int resetPin = -1, System.Device.Pwm.PwmChannel? pwmBacklight = default, System.Device.Gpio.GpioController? gpioController = default, bool shouldDispose = true);

Parameters

dataCommandPin
Int32

The data command pin.

spiDevice
SpiDevice

The SPI device.

resetPin
Int32

The reset pin. Use a negative number if you don't want to use it

pwmBacklight
PwmChannel

The PWM channel for the back light

gpioController
GpioController

The GPIO Controller.

shouldDispose
Boolean

True to dispose the GPIO controller

Applies to

.NET IoT Libraries 2.2.0 ja muud versioonid
Toode Versioonid
.NET IoT Libraries 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0

Pcd8544(Int32, SpiDevice, Int32, Int32, GpioController, Boolean)

Create Pcd8544

C#
public Pcd8544 (int dataCommandPin, System.Device.Spi.SpiDevice spiDevice, int resetPin = -1, int backlightPin = -1, System.Device.Gpio.GpioController? gpioController = default, bool shouldDispose = true);

Parameters

dataCommandPin
Int32

The data command pin.

spiDevice
SpiDevice

The SPI device.

resetPin
Int32

The reset pin. Use a negative number if you don't want to use it

backlightPin
Int32

The pin back light

gpioController
GpioController

The GPIO Controller.

shouldDispose
Boolean

True to dispose the GPIO controller

Applies to

.NET IoT Libraries 2.2.0 ja muud versioonid
Toode Versioonid
.NET IoT Libraries 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0