OM6279,598 NXP Semiconductors, OM6279,598 Datasheet - Page 30
![DEMO BOARD LED DIMMER](/photos/9/8/90803/om6279_sml.jpg)
OM6279,598
Manufacturer Part Number
OM6279,598
Description
DEMO BOARD LED DIMMER
Manufacturer
NXP Semiconductors
Datasheet
1.OM6279598.pdf
(45 pages)
Specifications of OM6279,598
Main Purpose
Lighting, RGB LED Controller
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
PCA9564PW, PCA9555PW, PCA9531PW, PCA9533DP/01
Primary Attributes
I2C Bus Controller, 1 8-Bit GPIO, 1 8-Bit LED Dimmer
Secondary Attributes
Different Demonstration Programs Through MCU
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
568-4003
935283363598
935283363598
Philips Semiconductors
}
//****************************************************************************
// Function displaying a selected Fun Pattern
// Inputs = Amount of Red, Green and Blue, Rotating Speed
//****************************************************************************
int Fun_Loop_Counter = 1;
int Speed_Prog_On
void Fun_Pattern_Display( short int Red_Value, short int Green_Value, short int Blue_Value, short int Speed_Value)
{
9397 750 14062
Application note
{
}
Buffer3[1]
GPIO_Polling_On
Message1.address = PCA9531_M_WR;
Message1.nrBytes = 2;
Buffer1[0]
Buffer1[1]
I2C_Write(&Message1);
Message1.buf
Message1.nrBytes
Buffer1[0]
Message1.address
Buffer1[1]
I2C_Write(&Message1);
Message1.address
Buffer1[1]
I2C_Write(&Message1);
Message1.address
Buffer1[1]
I2C_Write(&Message1);
Message1.nrBytes
Buffer1[0]
// Loop as long as a pushbutton not pressed
while (((Buffer3[0]==0xFF & Buffer3[1]==0xFF) | Buffer3[1] == 0xFD | Buffer3[1] == 0xF7) & Speed_Prog_On ==0)
{
GPIO_Interrupt_Handler();
InsertDelay(100);
if (Buffer3[0] == 0xFD) Duty_Cycle_White = Duty_Cycle_Control(Decrement, PCA9533_W_WR, Duty_Cycle_White);
if (Buffer3[0] == 0xFB) Duty_Cycle_White = Duty_Cycle_Control(Increment, PCA9533_W_WR, Duty_Cycle_White);
if (Fun_Loop_Counter < 8)
{
}
else
{
}
switch (Fun_Loop_Counter)
{
Fun_Loop_Counter++;
Fun_Loop_Counter = 1;
case 1: Buffer1[1] = 0x02;
Buffer1[2] = 0x00;
break;
= 0xFF;
= 0;
= 0x15;
= 0x00;
= 0;
= Buffer1;
= 2;
= 0x12;
= PCA9531_R_WR;
= Red_Value;
= PCA9531_G_WR;
= Green_Value;
= PCA9531_B_WR;
= Blue_Value;
= 3;
= 0x15;
// "-" Red (Key 2)
// "+" Red (Key 3)
// Clear Key END pushed
// Disable PCA9555 GPIO option
// PCA9531 Misc to indicate LED programming mode
// subaddress = 0x15
// LD8 off --> backlight programming mode left
// subaddress = 12
// PCA9531 Red
// Programming Red
// Program PCA9531 Red (2 bytes)
// PCA9531 Green
// Programming Green
// Program PCA9531 Green (2 bytes)
// PCA9531 Blue
// Programming Blue
// Program PCA9531 Blue (2 bytes)
// subaddress = 15
// Programming LD13 blinking at BR0
// LED's off
Rev. 01 — 7 January 2005
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
LED dimmer demoboard
AN10315
30 of 45