Skip to main content

Class Helpers

LED helper methods

Assembly: Meadow.Foundation.dll
View Source
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
public static float CalculateMaximumDutyCycle(Voltage forwardVoltage)
Returns

System.Single

Parameters
TypeName
Meadow.Units.VoltageforwardVoltage