PCA9957 LED driver example code

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PCA9957 LED driver example code

No ratings

PCA9957 LED driver example code

***************************************************************************************************
The PCA9957 is a daisy-chain SPI-compatible 4-wire serial bus controlled 24-channel constant current LED driver optimized for dimming and blinking 32 mA Red/Green/Blue/Amber (RGBA) LEDs.

*

This simple example code was created for FRDM-KL25Z freedom board plus FRDM-A9957HN evaluation board. The code is sets the PCA9957 for the gradation control of all LED channels.

*

* Connection:      FRDM-KL25Z           OM13513
* VDD                 J9-4                           J9-2                                                                                                           * VDDIO             J9-8                            J9-4
* GND                 J2-14                         J2-7
* MOSI               J2-8                            J2-4
* MISO               J2-10                          J2-5
* SCLK               J2-12                          J2-6
* CS                   J2-6                            J2-3
* RESET            J9-6                            J9-3
***************************************************************************************************

Labels (1)
Attachments
Version history
Last update:
‎09-30-2021 05:11 AM
Updated by: