ledc.rst 790 B

123456789101112131415161718192021
  1. LED Control
  2. ===========
  3. Overview
  4. --------
  5. The LED control module is primarily designed to control the intensity of LEDs, although it can be used to generate PWM signals for other purposes as well.
  6. It has 16 channels which can generate independent waveforms that can be used to drive e.g. RGB LED devices. For maximum flexibility, the high-speed as well
  7. as the low-speed channels can be driven from one of four high-speed/low-speed timers. The PWM controller also has the ability to automatically increase or
  8. decrease the duty cycle gradually, allowing for fades without any processor interference.
  9. Application Example
  10. -------------------
  11. LEDC change duty cycle and fading control example: :example:`peripherals/ledc`.
  12. API Reference
  13. -------------
  14. .. include:: /_build/inc/ledc.inc