Skip to main content

Class Helpers

LED helper methods

Assembly: Meadow.Foundation.dll
View Source
Declaration
public static class Helpers

Methods

CalculateMaximumDutyCycle(Voltage)

Calculates the maximum duty cycle based on the voltage drop/Forward Voltage/Vf of the LED.

View Source
Declaration
public static float CalculateMaximumDutyCycle(Voltage forwardVoltage)
Returns

System.Single

Parameters
TypeName
Meadow.Units.VoltageforwardVoltage