MotoHawk PCA9745B LED Set

The PCA9745B is a device that can drive up to 16 individual LEDs with constant current. This block writes the parameters which are relevlant to an individual LED channel.

Refer to the PCA9745B device datasheet for detailed explanation of parameters.

Block ID

PCA9745B LED Set

Library

motohawk_PCA9745B_lib

Description

Block Inputs

Input Name Values Comments/Description
LED Mode uint8 [0-3] LEDOUTx, one of the valus of motohawk_PCA9745B_led_mode_enum
Brightness uint8 [0-255], % PWMx, individual brightness control
Current Gain uint8 [0-255], % ref curr IREFx, individual output current setting
Group Select uint8 [0-3], group number GRAD_GRP_SELx, selects gradation group
Use Group Final Current bool GRAD_MODE_SELx, enable gradation mode and IREF_GRPx


Block Parameters

Parameter Field Values Comments/Description
Reference Name Alpha-numeric text, single quote enclosed Name references LED Definition block.