Added LEDC basic PWM example

Changes on the ledc_init function
Review on the README, docs and example functions
Added how to set freq and duty on README
Fix on the ledc.rst docs in the App Example
Added new example reference in the Chinese docs
This commit is contained in:
pedro.minatel
2021-04-12 15:06:27 +01:00
parent 3c0801584a
commit a6798eac98
16 changed files with 166 additions and 7 deletions

View File

@@ -192,8 +192,9 @@ The duty resolution is normally set using :cpp:type:`ledc_timer_bit_t`. This enu
Application Example
-------------------
The LEDC change duty cycle and fading control example: :example:`peripherals/ledc`.
The LEDC change duty cycle and fading control example: :example:`peripherals/ledc/ledc_fade`.
The LEDC basic example: :example:`peripherals/ledc/ledc_basic`.
API Reference
-------------