| 数据搜索系统,热门电子元器件搜索 |
|
AN2841 数据表(PDF) 10 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2841 数据表(HTML) 10 Page - STMicroelectronics |
|
10 / 31 page ![]() Dimming application using an STM32 microcontroller AN2841 10/31 The LED brightness value is defined by the user in the LEDmap array. The LEDmap is an array of 8-bit numbers (when using an 8-bit dimming resolution). Each value is dedicated to one single LED (Figure 7). The dimming algorithm converts the LEDmap array into a serial stream. The serial stream in combination with the LE signal generates requested PWM outputs on the LED drivers as shown in Figure 8. Figure 7. Computation of LEDdriverDATAbuffer variable AM00346 depth = 0 DATAchar = 0 DATAchar++ Detail in Figure 8: LEDmap LEDdriverDATAbuffer depth++ LED Driver SPI 0 .. 255 for 8-bit PWM resolution 0 .. LEDcount / 8 – – + + DATAchar>3 depth>255 Begin |
|
链接网址 |
| 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 |