Search found 2 matches

by caesarken
Thu Sep 01, 2022 3:57 am
Forum: ESP-IDF 中文讨论版
Topic: mcpwm控制舵机触发看门狗问题
Replies: 0
Views: 1057

mcpwm控制舵机触发看门狗问题

#include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "driver/gpio.h" #include "esp_log.h" #include "led_strip.h" #include "sdkconfig.h" #include "driver/ledc.h" #include "driver/mcpwm.h" printf("start......."); //初始化pwm引脚 mcpwm_gpio_init(MCPWM_UNIT_0, MCPWM0A, 18); ...