| 数据搜索系统,热门电子元器件搜索 |
|
AS3668 数据表(PDF) 49 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
AS3668 数据表(HTML) 49 Page - ams AG |
|
49 / 60 page ![]() www.austriamicrosystems.com/AS3668 Revision 1.11 49 - 60 AS3668 Data Sheet - A p p l i c a t i o n I n f o r m a t i o n Table 46. Code Example Dual Pulse Pattern Example 10.1.3 RGB LED Pattern In this example we would like to demonstrate how to use an RGB LED which is connected to CURR1, CURR2 and CURR3. Figure 51. RGB Pulse Pattern Example With the timing example above you get a mixture of red, green and blue color. Table 43 below shows how to configure the device to get the pattern shown in Figure 51. Table 47. Code Example RGB Pulse Pattern Register Name Address Write Value Comments CurrX Control 0x01 0x03 Enable CURR1 for pattern generation mode. Other current sources are off CURR1 Current 0x02 0xFF Set the output current of CURR1 to 25,5mA. PWM Timing 0x16 0x11 Define Rise/Fall time with 0,12s Pattern Timing 0x18 0x30 Define 0,04s on time and 4,2s off time Multiple Pulse 0x19 0x41 Define 2 pulses and 150ms pause time Start Control 0x1B 0x02 Start breathlight pattern Register Name Address Write Value Comments CurrX Control 0x01 0x3F Enable CURR1, CURR2 and CURR3 for pattern generation mode. CURR4 is in off mode. CURR1 Current 0x02 0x4F Set the output current of CURR1 to 7,9mA. CURR2 Current 0x03 0xC8 Set the output current of CURR2 to 20mA. CURR3 Current 0x04 0xB6 Set the output current of CURR3 to 18,2mA. PWM Timing 0x16 0x88 Define Rise/Fall time with 2.1s Pattern Timing 0x18 0x25 Define 1,1s on time and 1,1s off time Multiple Pulse 0x19 0x00 Define single pulse mode Start Control 0x1B 0x02 Start breathlight pattern |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |