Pcd8544 Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Pcd8544(Int32, SpiDevice, Int32, PwmChannel, GpioController, Boolean) |
Create Pcd8544 |
Pcd8544(Int32, SpiDevice, Int32, Int32, GpioController, Boolean) |
Create Pcd8544 |
Create Pcd8544
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);
new Iot.Device.Display.Pcd8544 : int * System.Device.Spi.SpiDevice * int * System.Device.Pwm.PwmChannel * System.Device.Gpio.GpioController * bool -> Iot.Device.Display.Pcd8544
Public Sub New (dataCommandPin As Integer, spiDevice As SpiDevice, Optional resetPin As Integer = -1, Optional pwmBacklight As PwmChannel = Nothing, Optional gpioController As GpioController = Nothing, Optional shouldDispose As Boolean = 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 |
Create Pcd8544
public Pcd8544 (int dataCommandPin, System.Device.Spi.SpiDevice spiDevice, int resetPin = -1, int backlightPin = -1, System.Device.Gpio.GpioController? gpioController = default, bool shouldDispose = true);
new Iot.Device.Display.Pcd8544 : int * System.Device.Spi.SpiDevice * int * int * System.Device.Gpio.GpioController * bool -> Iot.Device.Display.Pcd8544
Public Sub New (dataCommandPin As Integer, spiDevice As SpiDevice, Optional resetPin As Integer = -1, Optional backlightPin As Integer = -1, Optional gpioController As GpioController = Nothing, Optional shouldDispose As Boolean = 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 |