| 数据搜索系统,热门电子元器件搜索 |
|
AS3668 数据表(PDF) 48 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
AS3668 数据表(HTML) 48 Page - ams AG |
|
48 / 60 page ![]() www.austriamicrosystems.com/AS3668 Revision 1.11 48 - 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 10 Application Information 10.1 LED Software Implementation Examples 10.1.1 Simple Breathlight Pattern with one LED In this example we’d like to use CURR1 in pattern generation mode to create a simple breathlight pattern without continuous I2C traffic. This helps to unload the calculation power from the CPU. Figure 49. Simple Breathlight Pattern Example The timing example shown in Figure 49 above, can be easily implemented with just a couple of I2C commands. Table 45. Code Example Simple Breathlight Pattern 10.1.2 Dual Pulse Pattern with one LED In this example we would like to use CURR1 in pattern generation mode to create a simple dual pulse pattern without continuous I2C traffic. This helps again to unload the CPU. Figure 50. Dual Pulse Pattern Example The timing example shown in Figure 50 above, can be easily implemented with just a couple of I2C commands. Register Name Address Write Value Comments CurrX Control 0x01 0x03 Enable CURR1 for pattern generation mode. Other current sources are off CURR1 Current 0x02 0x96 Set the output current of CURR1 to 15mA. PWM Timing 0x16 0x55 Define Rise/Fall time with 0,77s Pattern Timing 0x18 0x32 Define 0,15s on time and 4,21s off time 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 |