| Electronic Components Datasheet Search |
|
MEC1322 Datasheet(PDF) 335 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MEC1322 Datasheet(HTML) 335 Page - Microchip Technology |
|
335 / 456 page ![]() 2014 - 2015 Microchip Technology Inc. DS00001719D-page 335 MEC1322 FIGURE 28-5: LINEAR BRIGHTNESS CURVE EXAMPLE 28.9.3.2 Non-linear LED brightness change In this example, the brightness of the LED increases and diminishes in a non-linear fashion. The brightness forms a curve that is approximated by four piece wise-linear line segments. The entire cycle takes about 2.8 seconds. The rise time and fall time are about 1 second, with a hold time at maximum brightness of 320ms and a hold time at minimum brightness of 400ms. The LED brightness varies between full off and full on. The PWM size is set to 7-bit, so the time unit for adjusting the PWM is approximately 4ms. The registers are configured as follows: TABLE 28-14: NON-LINEAR EXAMPLE CONFIGURATION Field Value PSIZE 7-bit MAX 255 (effectively 127) MIN 0 HD 80 ticks (320ms) LD 100 ticks (400ms) Duty cycle most significant bits 000b 001b 010b 011b 100b 101b 110b 1110 LED_INT 236 699 16 16 LED_STEP 444 444 44 0 50 100 150 200 250 300 0 32 0 64 0 96 0 12 80 16 00 19 20 22 40 25 60 28 80 32 00 35 20 38 40 41 60 44 80 48 00 51 20 54 40 57 60 60 80 64 00 67 20 70 40 73 60 76 80 80 00 83 20 86 40 89 60 92 80 96 00 99 20 10 24 0 10 56 0 10 88 0 D u ty C yc le Time in ms |
|
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 |