esp32_cam软件开发6-PWM
Posted llw2017
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了esp32_cam软件开发6-PWM相关的知识,希望对你有一定的参考价值。
/*
* 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的主要内容,如果未能解决你的问题,请参考以下文章
ESP32-CAM 使用 MicroPython 进行开发 - 使用图形化工具 Thonny (Mac)
esp32-cam拍照上传,app inventor 制作安卓app实时显示