lpcware

LED dimmer PCA9531 Sample Code

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by alan_nn on Thu Mar 13 02:35:14 CDT 2014
The PCA9531 is an 8-bit I2C & SMBus I/O expander optimized for dimming LEDs in 256 discrete steps for Red/Green/Blue (RGB) color mixing and back light applications .This sample code demonstrate how to modify the LED brightness by change the duty cycle in PWM register.
And make the 8 pcs  LEDs light on and eliminate gradually. So realize the function of flowing water light.

Outcomes