| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
AN2841 Datasheet(PDF) 10 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2841 Datasheet(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 |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |