Class Pca9685.PwmPort
Pca9685 PWM port
Assembly: Pca9685.dll
View Source
public class Pca9685.PwmPort : IPwmPort, IDigitalPort, IPort<IDigitalChannelInfo>, IDisposable
Implements:
Meadow.Hardware.IPwmPort, Meadow.Hardware.IDigitalPort, Meadow.Hardware.IPort<Meadow.Hardware.IDigitalChannelInfo>, System.IDisposable
Properties
Channel
Channel info
View Source
public IPwmChannelInfo Channel { get; }
Duration
Duration
View Source
public float Duration { get; set; }
Period
Period
View Source
public float Period { get; set; }
Frequency
Gets the overall PWM Frequency set for the PCA9685. Can't be changed per port.
View Source
public Frequency Frequency { get; set; }
State
State
View Source
public bool State { get; }
Pin
Pin
View Source
public IPin Pin { get; }
DutyCycle
Duty cycle
View Source
public float DutyCycle { get; set; }
Inverted
Get or set inversion
View Source
public bool Inverted { get; set; }
TimeScale
Get or set the time scale
View Source
public TimeScale TimeScale { get; set; }
Methods
Start()
Start PWM ports
View Source
public void Start()
Stop()
Stop PWM ports
View Source
public void Stop()
Dispose()
Dispose
View Source
public void Dispose()
Exceptions
System.NotImplementedException
Implements
Meadow.Hardware.IPwmPortMeadow.Hardware.IDigitalPortMeadow.Hardware.IPort<Meadow.Hardware.IDigitalChannelInfo>System.IDisposable