GoPiGo(SpiDevice, Byte, Boolean, Boolean) Constructor
Definition
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.
Create a GoPiGo class
public GoPiGo (System.Device.Spi.SpiDevice spiDevice, byte spiAddress = 8, bool autoDetect = true, bool autoDispose = true);
public GoPiGo (System.Device.Spi.SpiDevice spiDevice, byte spiAddress = 8, bool autoDetect = true, bool shouldDispose = true);
new Iot.Device.GoPiGo3.GoPiGo : System.Device.Spi.SpiDevice * byte * bool * bool -> Iot.Device.GoPiGo3.GoPiGo
new Iot.Device.GoPiGo3.GoPiGo : System.Device.Spi.SpiDevice * byte * bool * bool -> Iot.Device.GoPiGo3.GoPiGo
Public Sub New (spiDevice As SpiDevice, Optional spiAddress As Byte = 8, Optional autoDetect As Boolean = true, Optional autoDispose As Boolean = true)
Public Sub New (spiDevice As SpiDevice, Optional spiAddress As Byte = 8, Optional autoDetect As Boolean = true, Optional shouldDispose As Boolean = true)
Parameters
- spiDevice
- SpiDevice
The SpiDevice
- spiAddress
- Byte
The SPI address, by default 8
- autoDetect
- Boolean
Try to autodetect the board
- autoDisposeshouldDispose
- Boolean
True to dispose the SpiDevice when disposing the class
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for