码迷,mamicode.com
首页 > 其他好文 > 详细

esp32_cam软件开发6-PWM

时间:2018-07-05 13:27:55      阅读:377      评论:0      收藏:0      [点我收藏+]

标签:group   one   mod   tar   default   als   amp   bsp   with   

 

/*
* About this example
*
* 1. Start with initializing LEDC module:
* a. Set the timer of LEDC first, this determines the frequency
* and resolution of PWM.
* b. Then set the LEDC channel you want to use,
* and bind with one of the timers.
*
* 2. You need first to install a default fade function,
* then you can use fade APIs.
*
* 3. You can also set a target duty directly without fading.
*
* 4. This example uses GPIO18/19/4/5 as LEDC output,
* and it will change the duty repeatedly.
*
* 5. GPIO18/19 are from high speed channel group.
* GPIO4/5 are from low speed channel group.
*
*/

 

esp32_cam软件开发6-PWM

标签:group   one   mod   tar   default   als   amp   bsp   with   

原文地址:https://www.cnblogs.com/llw2017/p/9267688.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!