Show / Hide Table of Contents

Class PWM

Inheritance
Object
MotorSafety
PWM
PWMSpeedController
Implements
ISendable
IDisposable
Inherited Members
MotorSafety.DefaultSafetyExpiration
MotorSafety.Feed()
MotorSafety.Expiration
MotorSafety.IsAlive
MotorSafety.Check()
MotorSafety.SafetyEnabled
MotorSafety.CheckMotors()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: WPILib
Assembly: WPILibSharp.dll
Syntax
public class PWM : MotorSafety, ISendable, IDisposable

Constructors

| Improve this Doc View Source

PWM(Int32)

Declaration
public PWM(int channel)
Parameters
Type Name Description
Int32 channel

Properties

| Improve this Doc View Source

Channel

Declaration
public int Channel { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Description

Declaration
public override string Description { get; }
Property Value
Type Description
String
Overrides
MotorSafety.Description
| Improve this Doc View Source

PeriodMultiplier

Declaration
public PWM.PeriodMultiplierType PeriodMultiplier { set; }
Property Value
Type Description
PWM.PeriodMultiplierType
| Improve this Doc View Source

Position

Declaration
public double Position { get; set; }
Property Value
Type Description
Double
| Improve this Doc View Source

Raw

Declaration
public int Raw { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Speed

Declaration
public double Speed { get; set; }
Property Value
Type Description
Double

Methods

| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()
| Improve this Doc View Source

SetBounds(Double, Double, Double, Double, Double)

Declaration
public void SetBounds(double max, double deadbandMax, double center, double deadbandMin, double min)
Parameters
Type Name Description
Double max
Double deadbandMax
Double center
Double deadbandMin
Double min
| Improve this Doc View Source

SetDisabled()

Declaration
public void SetDisabled()
| Improve this Doc View Source

SetZeroLatch()

Declaration
public void SetZeroLatch()
| Improve this Doc View Source

StopMotor()

Declaration
public override void StopMotor()
Overrides
MotorSafety.StopMotor()

Explicit Interface Implementations

| Improve this Doc View Source

ISendable.InitSendable(ISendableBuilder)

Declaration
void ISendable.InitSendable(ISendableBuilder builder)
Parameters
Type Name Description
ISendableBuilder builder

Implements

ISendable
IDisposable
  • Improve this Doc
  • View Source
Back to top Copyright © 2017 RobotDotNet