Pca9685 Class

Definition

PCA9685 PWM LED/servo controller

public class Pca9685 : IDisposable
type Pca9685 = class
    interface IDisposable
Public Class Pca9685
Implements IDisposable
Inheritance
Pca9685
Implements

Constructors

Pca9685(I2cDevice, Double, Double, Boolean)

Constructs Pca9685 instance

Fields

I2cAddressBase

I2C address base. Equal to actual address when all selectable address bits are equal to 0.

Properties

ClockFrequency

Get clock frequency (Hz). Only set if you are using external clock.

Prescale

Set PWM frequency using prescale value or get the value.

PwmFrequency

Set PWM frequency or get effective value.

Methods

CreatePwmChannel(Int32)

Creates PwmChannel instance from selected channel

Dispose() System.IDisposable.Dispose
GetDutyCycle(Int32)

Gets duty cycle on specified channel

SetDutyCycle(Int32, Double)

Sets duty cycle on specified channel.

SetDutyCycleAllChannels(Double)

Sets duty cycles on all channels

Applies to