Table of Contents

Struct PamojaPwm

Namespace
Pamoja.Native.Interop
Assembly
Pamoja.Native.dll

A PCA9685 channel's four register bytes, mirroring PamojaPwm in pamoja.h.

public struct PamojaPwm
Inherited Members

Remarks

The field order matches the channel's four consecutive registers, so the whole struct can be written in one bus transaction.

Fields

OffHigh

The high byte of that count; bit 4 is the full-off flag.

public byte OffHigh

Field Value

byte

OffLow

The low byte of the count at which the output goes low.

public byte OffLow

Field Value

byte

OnHigh

The high byte of that count; bit 4 is the full-on flag.

public byte OnHigh

Field Value

byte

OnLow

The low byte of the count at which the output goes high.

public byte OnLow

Field Value

byte