![]() Setting up a channel of the LEDC in either high or low speed mode is done in three steps: The PWM controller can automatically increase or decrease the duty cycle gradually, allowing for fades without any processor interference. ![]() Each group of channels is also able to use different clock sources. The other group of channels operate in low speed mode, the PWM duty cycle must be changed by the driver in software. This mode is implemented in hardware and offers automatic and glitch-free changing of the PWM duty cycle. One group of LEDC channels operates in high speed mode. LEDC channels are divided into two groups of 8 channels each. It has 16 channels which can generate independent waveforms that can be used, for example, to drive RGB LED devices. The LED control (LEDC) peripheral is primarily designed to control the intensity of LEDs, although it can also be used to generate PWM signals for other purposes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |