C# Class Emlid.WindowsIot.Hardware.Protocols.Pwm.PwmCycle

Contains information about a PWM cycle (low-high cycle)
Show file Open project: emlid/Navio-SDK-Windows-IoT Class Usage Examples

Public Methods

Method Description
IsValid ( ) : bool

Checks if the cycle is valid.

PwmCycle ( long lowTime ) : System.Globalization

Creates an instance with zeros except the time of the last cycle low.

Typically used as a follow-on to a previous cycle.

ToString ( ) : string

Return a string representation of the current values.

Method Details

IsValid() public method

Checks if the cycle is valid.
public IsValid ( ) : bool
return bool

PwmCycle() public method

Creates an instance with zeros except the time of the last cycle low.
Typically used as a follow-on to a previous cycle.
public PwmCycle ( long lowTime ) : System.Globalization
lowTime long
return System.Globalization

ToString() public method

Return a string representation of the current values.
public ToString ( ) : string
return string