GoPiGo.GetGrovePwmFrequency(GrovePort, UInt32) Method
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.
Set grove PWM frequency
public void GetGrovePwmFrequency (Iot.Device.GoPiGo3.Models.GrovePort port, uint freq = 24000);
member this.GetGrovePwmFrequency : Iot.Device.GoPiGo3.Models.GrovePort * uint32 -> unit
Public Sub GetGrovePwmFrequency (port As GrovePort, Optional freq As UInteger = 24000)
Parameters
- port
- GrovePort
The grove port(s).GROVE_1 and / or GROVE_2.
- freq
- UInt32
The PWM frequency.Range is 3 through 48000Hz.Default is 24000(24kHz). Limit to 48000, which is the highest frequency supported for 0.1% resolution.
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