#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_system.h"
#include "esp_wifi.h"
#include "esp_event_loop.h"
#include "esp_log.h"
#include "nvs_flash.h"
#include "driver/gpio.h"
#include "driver/ledc.h"
#include "lwip/sys.h"
#include "lwip/netdb.h"
#include "lwip/api.h"
#include "driver/mcpwm.h"
◆ _BONUS_
◆ EXAMPLE_ESP_WIFI_PASS
#define EXAMPLE_ESP_WIFI_PASS "12345678" |
◆ EXAMPLE_ESP_WIFI_SSID
#define EXAMPLE_ESP_WIFI_SSID "ESP32-WIFI-MODULE" |
◆ EXAMPLE_MAX_STA_CONN
#define EXAMPLE_MAX_STA_CONN 3 |
◆ SERVO_MAX_DEGREE
#define SERVO_MAX_DEGREE (90) |
◆ SERVO_MAX_PULSEWIDTH_US
#define SERVO_MAX_PULSEWIDTH_US (2000) |
◆ SERVO_MIN_PULSEWIDTH_US
#define SERVO_MIN_PULSEWIDTH_US (1000) |
◆ SERVO_PULSE_GPIO
#define SERVO_PULSE_GPIO (23) |
◆ app_main()
◆ setUpPWM()
◆ wifi_init_softap()
void wifi_init_softap |
( |
| ) |
|