LedPwm Constructors
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.
Overloads
LedPwm(GoPiGo, GrovePort) |
Constructor for the LedPwm class |
LedPwm(GoPiGo, GrovePort, Byte) |
Constructor for the LedPwm class |
LedPwm(GoPiGo, GrovePort)
Constructor for the LedPwm class
public LedPwm (Iot.Device.GoPiGo3.GoPiGo goPiGo, Iot.Device.GoPiGo3.Models.GrovePort port);
new Iot.Device.GoPiGo3.Sensors.LedPwm : Iot.Device.GoPiGo3.GoPiGo * Iot.Device.GoPiGo3.Models.GrovePort -> Iot.Device.GoPiGo3.Sensors.LedPwm
Public Sub New (goPiGo As GoPiGo, port As GrovePort)
Parameters
- goPiGo
- GoPiGo
The GoPiGo3 class
- port
- GrovePort
The Grove Port, need to be in the list of SupportedPorts
Applies to
LedPwm(GoPiGo, GrovePort, Byte)
Constructor for the LedPwm class
public LedPwm (Iot.Device.GoPiGo3.GoPiGo goPiGo, Iot.Device.GoPiGo3.Models.GrovePort port, byte duty);
new Iot.Device.GoPiGo3.Sensors.LedPwm : Iot.Device.GoPiGo3.GoPiGo * Iot.Device.GoPiGo3.Models.GrovePort * byte -> Iot.Device.GoPiGo3.Sensors.LedPwm
Public Sub New (goPiGo As GoPiGo, port As GrovePort, duty As Byte)
Parameters
- goPiGo
- GoPiGo
The GoPiGo3 class
- port
- GrovePort
The Grove Port, need to be in the list of SupportedPorts
- duty
- Byte
The duty cycle for the led, 100 = full bright, 0 = full dark
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