| Electronic Components Datasheet Search |
|
9531 Datasheet(PDF) 10 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
9531 Datasheet(HTML) 10 Page - NXP Semiconductors |
|
10 / 20 page ![]() Philips Semiconductors Product data PCA9531 8-bit I2C LED dimmer 2003 Nov 10 10 Programming example The following example will show how to set LED0 to LED3 on. It will then set LED4 and LED5 to blink at 1 Hz at a 50% duty cycle. LED6 and LED7 will be set to be dimmed at 25% of their maximum brightness (duty cycle = 25%). Table 1. I2C-bus Start S PCA9531 address with A0-A2 = low C0h PSC0 subaddress + auto-increment 11h Set prescaler PSC0 to achieve a period of 1 second: Blink period + 1 + PSC0 ) 1 152 PSC0 = 151 97h Set PWM0 duty cycle to 50%: PWM0 256 + 0.5 PWM0 = 128 80h Set prescaler PCS1 to dim at max frequency: Blink period + max PSC1 = 0 00h Set PWM1 output duty cycle to 25%: PWM1 256 + 0.25 PWM1 = 64 40h Set LED0 to LED3 on 55h Set LED4 and 5 to PWM0, and LED6 or 7 to PWM1 FAh Stop P |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |