C# Class RPi.Pwm.Motors.PwmComponentBase

Show file Open project: neutmute/RPi.Demo

Protected Methods

Method Description
GetCoercedPercent ( decimal percent ) : decimal
GetPercentAsPwm ( Decimal percent ) : int
PwmComponentBase ( IPwmDevice controller ) : System

Method Details

GetCoercedPercent() protected method

protected GetCoercedPercent ( decimal percent ) : decimal
percent decimal
return decimal

GetPercentAsPwm() protected method

protected GetPercentAsPwm ( Decimal percent ) : int
percent Decimal
return int

PwmComponentBase() protected method

protected PwmComponentBase ( IPwmDevice controller ) : System
controller IPwmDevice
return System