| Zakładka z wyszukiwarką danych komponentów |
|
AN2841 Arkusz danych(PDF) 10 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2841 Arkusz danych(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 |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |