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.
PCA9745B LED Set
motohawk_PCA9745B_lib
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 |
Parameter Field | Values | Comments/Description |
---|---|---|
Reference Name | Alpha-numeric text, single quote enclosed | Name references LED Definition block. |
Copyright 2017 Woodward Corporation. All Rights Reserved. | Visit Us: mcs.woodward.com |