| Electronic Components Datasheet Search |
|
AS3668 Datasheet(PDF) 47 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
AS3668 Datasheet(HTML) 47 Page - ams AG |
|
47 / 59 page ![]() www.ams.com/AS3668 Revision 1.13 47 - 59 AS3668 Data Sheet - Application Information 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 |
|
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 |