Usage of each block

日本語のページ

Initializing PCA9685

Initialize PCA9685

Initialize the PCA9685.
For microcontrollers with fixed I2C pin numbers, use this block to initialize.

Initialize PCA9685 by specifying the I2C pin number

Initialize PCA9685 by specifying I2C pin number

Initialize the PCA9685 by specifying the I2C SDA/SCL pin numbers.
For microcontrollers that allow free configuration of I2C pin numbers, use this block for initialization.

Set pulse range

Set pulse range

Specifies the pulse width range corresponding to 0 and 180 degrees of the servo motor.
The "number" parameter specifies the channel number to which the servo motor is connected (0-15).
The default values are 500 for the minimum and 2550 for the maximum.

Rotate servo motor

Rotate servo motor

Rotates the servo motor to the specified angle.
The "number" parameter specifies the channel number (0-15) to which the servo motor is connected.