Getting Started Cameras & Video Detection & Recording Automation & Events Actions Integration & Connectivity Network & Discovery AI & Remote Control MQTT Modbus Pi4J & Raspberry Pi GPIO ZeroMQ System & Administration Comparisons Use Cases Troubleshooting About & Legal
Home / Documentation / PCA9685 Set PWM Action
Action · Pi4J 2.0.0

PCA9685 Set PWM

Sets one PCA9685 channel by duty cycle or pulse width.

ParameterDescriptionDefault
PCA9685 Thing / channelTarget controller and channel.Required
Control modeDuty cycle or pulse width.PULSE_WIDTH
Duty cycle0–100 percent.50
Pulse widthMicroseconds, zero or greater.1500 µs
SERVO

One servo channel

Move one actuator to an exact pulse width from a rule or manual action.

PWM

Duty-cycle control

Control a proportional load through suitable driver hardware.